Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(apidoc): Make type parameter optional in apidoc as in description #15194

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions website/server/controllers/api-v3/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,13 @@ api.createChallengeTasks = {
* @apiGroup Task
*
* @apiParam (Query) {String="habits","dailys",
* "todos","rewards","completedTodos"} type Optional query parameter to return
* just a type of tasks. By default all
* types will be returned except
* completed todos that must be
* requested separately.
* The "completedTodos" type returns
* only the 30 most recently completed.
* "todos","rewards","completedTodos"} [type] Optional query parameter to return
* just a type of tasks. By default all
* types will be returned except
* completed todos that must be
* requested separately.
* The "completedTodos" type returns
* only the 30 most recently completed.
* @apiParam (Query) [dueDate] type Optional date to use for computing the nextDue field
* for each returned task.
*
Expand Down