Fix the parameter name
This commit is contained in:
parent
24c4381221
commit
ed7e2e2ada
|
@ -103,7 +103,7 @@ function defineScope(cls, targetClass, name, params, methods) {
|
||||||
|
|
||||||
fn.shared = true;
|
fn.shared = true;
|
||||||
fn.http = {verb: 'get', path: '/' + name};
|
fn.http = {verb: 'get', path: '/' + name};
|
||||||
fn.accepts = {arg: 'where', type: 'object'};
|
fn.accepts = {arg: 'filter', type: 'object'};
|
||||||
fn.description = 'Fetches ' + name;
|
fn.description = 'Fetches ' + name;
|
||||||
fn.returns = {arg: name, type: 'array', root: true};
|
fn.returns = {arg: name, type: 'array', root: true};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue