From 1e10e20a246e2664b2af17f4ea5ef66b1ea8696b Mon Sep 17 00:00:00 2001 From: Juliusdotsh <45949990+Juliusdotsh@users.noreply.github.com> Date: Thu, 3 Jan 2019 11:31:03 +0100 Subject: [PATCH] apidocs should say how to provide comment when flagging #10916 (#10925) --- website/server/controllers/api-v3/chat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/server/controllers/api-v3/chat.js b/website/server/controllers/api-v3/chat.js index 64afb56c09..3c7f5468b0 100644 --- a/website/server/controllers/api-v3/chat.js +++ b/website/server/controllers/api-v3/chat.js @@ -276,6 +276,7 @@ api.likeChat = { * * @apiParam (Path) {UUID} groupId The group id ('party' for the user party and 'habitrpg' for tavern are accepted) * @apiParam (Path) {UUID} chatId The chat message id + * @apiParam (Body) {String} [comment] explain why the message was flagged * * @apiSuccess {Object} data The flagged chat message * @apiSuccess {UUID} data.id The id of the message