From ed7e2e2ada0238d0723caaa471516403168274cc Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 4 Mar 2014 08:56:16 -0800 Subject: [PATCH] Fix the parameter name --- lib/scope.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scope.js b/lib/scope.js index d5ec8b61..5c8d43c5 100644 --- a/lib/scope.js +++ b/lib/scope.js @@ -103,7 +103,7 @@ function defineScope(cls, targetClass, name, params, methods) { fn.shared = true; fn.http = {verb: 'get', path: '/' + name}; - fn.accepts = {arg: 'where', type: 'object'}; + fn.accepts = {arg: 'filter', type: 'object'}; fn.description = 'Fetches ' + name; fn.returns = {arg: name, type: 'array', root: true};