Skip to content

Commit 95d5d00

Browse files
authored
fix(apidoc): Make type parameter optional in apidoc as in description
1 parent 3e19b8a commit 95d5d00

File tree

1 file changed

+7
-7
lines changed
  • website/server/controllers/api-v3

1 file changed

+7
-7
lines changed

Diff for: website/server/controllers/api-v3/tasks.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -346,13 +346,13 @@ api.createChallengeTasks = {
346346
* @apiGroup Task
347347
*
348348
* @apiParam (Query) {String="habits","dailys",
349-
* "todos","rewards","completedTodos"} type Optional query parameter to return
350-
* just a type of tasks. By default all
351-
* types will be returned except
352-
* completed todos that must be
353-
* requested separately.
354-
* The "completedTodos" type returns
355-
* only the 30 most recently completed.
349+
* "todos","rewards","completedTodos"} [type] Optional query parameter to return
350+
* just a type of tasks. By default all
351+
* types will be returned except
352+
* completed todos that must be
353+
* requested separately.
354+
* The "completedTodos" type returns
355+
* only the 30 most recently completed.
356356
* @apiParam (Query) [dueDate] type Optional date to use for computing the nextDue field
357357
* for each returned task.
358358
*

0 commit comments

Comments
 (0)