diff --git a/common/models/user.js b/common/models/user.js index 4b30fc12..06f09500 100644 --- a/common/models/user.js +++ b/common/models/user.js @@ -567,7 +567,7 @@ module.exports = function(User) { description: 'Login a user with username/email and password.', accepts: [ {arg: 'credentials', type: 'object', required: true, http: {source: 'body'}}, - {arg: 'include', type: 'string', http: {source: 'query' }, + {arg: 'include', type: ['string'], http: {source: 'query' }, description: 'Related objects to include in the response. ' + 'See the description of return value for more details.'} ],