Fix remoting metadata for User.login#include
Change the type of the "include" argument to "string array". The type used to be "string" before and thus requests sending multiple include items were technically incorrect.
This commit is contained in:
parent
ca004adfc6
commit
03d9f64c82
|
@ -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.'}
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue