aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/services/EditComment.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/src/services/EditComment.js')
-rw-r--r--apps/comments/src/services/EditComment.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/comments/src/services/EditComment.js b/apps/comments/src/services/EditComment.js
index 51d0d4cca65..1462e99d1db 100644
--- a/apps/comments/src/services/EditComment.js
+++ b/apps/comments/src/services/EditComment.js
@@ -25,13 +25,13 @@ import client from './DavClient.js'
/**
* Edit an existing comment
*
- * @param {string} commentsType the ressource type
- * @param {number} ressourceId the ressource ID
+ * @param {string} resourceType the resource type
+ * @param {number} resourceId the resource ID
* @param {number} commentId the comment iD
* @param {string} message the message content
*/
-export default async function(commentsType, ressourceId, commentId, message) {
- const commentPath = ['', commentsType, ressourceId, commentId].join('/')
+export default async function(resourceType, resourceId, commentId, message) {
+ const commentPath = ['', resourceType, resourceId, commentId].join('/')
return await client.customRequest(commentPath, Object.assign({
method: 'PROPPATCH',