diff --git a/website/src/controllers/api-v3/chat.js b/website/src/controllers/api-v3/chat.js index 079fbb66cd..e60ba380a8 100644 --- a/website/src/controllers/api-v3/chat.js +++ b/website/src/controllers/api-v3/chat.js @@ -312,8 +312,6 @@ api.clearChatFlags = { * @apiGroup Chat * * @apiParam {groupId} groupId The group _id - * - * @apiSuccess {None} */ api.seenChat = { method: 'POST', diff --git a/website/src/controllers/api-v3/tasks.js b/website/src/controllers/api-v3/tasks.js index 9ec66296a1..ffd3b15903 100644 --- a/website/src/controllers/api-v3/tasks.js +++ b/website/src/controllers/api-v3/tasks.js @@ -62,7 +62,8 @@ async function _createTasks (req, res, user, challenge) { * @apiName CreateUserTasks * @apiGroup Task * - * @apiSuccess {Object|Array} task The newly created task(s) + * @apiSuccess {Object} task The newly created task + * @apiSuccess {Object[]} tasks The newly created tasks (if more than one was created) */ api.createUserTasks = { method: 'POST', @@ -82,7 +83,8 @@ api.createUserTasks = { * * @apiParam {UUID} challengeId The id of the challenge the new task(s) will belong to. * - * @apiSuccess {Object|Array} task The newly created task(s) + * @apiSuccess {Object} task The newly created task + * @apiSuccess {Object[]} tasks The newly created tasks (if more than one was created) */ api.createChallengeTasks = { method: 'POST',