mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix apidoc comments
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user