add url param to edit comment call

This commit is contained in:
igoradamenko
2018-05-18 19:47:12 +03:00
parent 91f6e8e716
commit 875d37f7d8
+1 -1
View File
@@ -41,7 +41,7 @@ export const send = ({ text, pid }) => fetcher.post({
});
export const edit = ({ text, id }) => fetcher.put({
url: `/comment/${id}`,
url: `/comment/${id}?url=${url}`,
body: {
text,
},