Fix the jsdoc for User.login

This commit is contained in:
Raymond Feng 2014-11-03 14:07:19 -08:00
parent e1b5d1edae
commit 842d9b0bcd
1 changed files with 6 additions and 4 deletions

View File

@ -117,10 +117,12 @@ User.normalizeCredentials = function(credentials, realmRequired, realmDelimiter)
* });
* ```
*
* @param {Object} credentials
* @callback {Function} callback
* @param {Error} err
* @param {AccessToken} token
* @param {Object} credentials username/password or email/password
* @param {String[]|String} [include] Optionally set it to "user" to include
* the user info
* @callback {Function} callback Callback function
* @param {Error} err Error object
* @param {AccessToken} token Access token if login is successful
*/
User.login = function(credentials, include, fn) {