Fix the parameter name

This commit is contained in:
Raymond Feng 2014-03-04 08:56:16 -08:00
parent 24c4381221
commit ed7e2e2ada
1 changed files with 1 additions and 1 deletions

View File

@ -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};