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:
Miroslav Bajtoš 2015-04-24 08:56:39 +02:00
parent ca004adfc6
commit 03d9f64c82
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.'}
],