From 03d9f64c82e278666a877682dfccfbf1b3793ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Fri, 24 Apr 2015 08:56:39 +0200 Subject: [PATCH] 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. --- common/models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'} ],