From c535f8e731891fb12e0895c5a2f6057658ddf082 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Wed, 10 Oct 2018 14:01:14 -0400 Subject: [PATCH] Update report route to match newest API update --- src/redux/preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redux/preview.js b/src/redux/preview.js index afda980f5..fb1adc1a8 100644 --- a/src/redux/preview.js +++ b/src/redux/preview.js @@ -645,7 +645,7 @@ module.exports.deleteComment = (projectId, commentId, topLevelCommentId, token) module.exports.reportComment = (projectId, commentId, topLevelCommentId, token) => (dispatch => { api({ - uri: `/proxy/report/project/${projectId}/comment/${commentId}`, + uri: `/proxy/project/${projectId}/comment/${commentId}/report`, authentication: token, withCredentials: true, method: 'POST',