mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
added apidoc info about data.newUser in login response
This commit is contained in:
parent
d1bd63289b
commit
725ed22704
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ function _loginRes (user, req, res) {
|
|||
*
|
||||
* @apiSuccess {String} data._id The user's unique identifier
|
||||
* @apiSuccess {String} data.apiToken The user's api token that must be used to authenticate requests.
|
||||
* @apiSuccess {Boolean} data.newUser Returns true if the user was just created (always false for local login).
|
||||
*/
|
||||
api.loginLocal = {
|
||||
method: 'POST',
|
||||
|
|
|
|||
Loading…
Reference in a new issue