mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
Update report route to match newest API update
This commit is contained in:
parent
6b4e0595d0
commit
c535f8e731
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue