fix apidoc comments

This commit is contained in:
Matteo Pagliazzi
2016-02-14 12:56:40 +01:00
parent 1eee27bdd4
commit 8b7719d25e
2 changed files with 4 additions and 4 deletions

View File

@@ -312,8 +312,6 @@ api.clearChatFlags = {
* @apiGroup Chat * @apiGroup Chat
* *
* @apiParam {groupId} groupId The group _id * @apiParam {groupId} groupId The group _id
*
* @apiSuccess {None}
*/ */
api.seenChat = { api.seenChat = {
method: 'POST', method: 'POST',

View File

@@ -62,7 +62,8 @@ async function _createTasks (req, res, user, challenge) {
* @apiName CreateUserTasks * @apiName CreateUserTasks
* @apiGroup Task * @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 = { api.createUserTasks = {
method: 'POST', method: 'POST',
@@ -82,7 +83,8 @@ api.createUserTasks = {
* *
* @apiParam {UUID} challengeId The id of the challenge the new task(s) will belong to. * @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 = { api.createChallengeTasks = {
method: 'POST', method: 'POST',