Update report route to match newest API update

This commit is contained in:
Paul Kaplan 2018-10-10 14:01:14 -04:00
parent 6b4e0595d0
commit c535f8e731

View file

@ -645,7 +645,7 @@ module.exports.deleteComment = (projectId, commentId, topLevelCommentId, token)
module.exports.reportComment = (projectId, commentId, topLevelCommentId, token) => (dispatch => { module.exports.reportComment = (projectId, commentId, topLevelCommentId, token) => (dispatch => {
api({ api({
uri: `/proxy/report/project/${projectId}/comment/${commentId}`, uri: `/proxy/project/${projectId}/comment/${commentId}/report`,
authentication: token, authentication: token,
withCredentials: true, withCredentials: true,
method: 'POST', method: 'POST',