Merge pull request #1332 from strongloop/fix/user-login-include

Fix remoting metadata for User.login#include
This commit is contained in:
Miroslav Bajtoš 2015-04-28 08:08:25 +02:00
commit da50d6ffb0
1 changed files with 1 additions and 1 deletions

View File

@ -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.'}
],