From 875d37f7d8f246baa11ebce2d0c8dc3882dc7a22 Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Fri, 18 May 2018 19:47:12 +0300 Subject: [PATCH] add url param to edit comment call --- web/app/common/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/common/api.js b/web/app/common/api.js index 3397b116..de15804c 100644 --- a/web/app/common/api.js +++ b/web/app/common/api.js @@ -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, },