DAO.prototype.exists should return 'boolean' type.
Signed-off-by: Samuel Reed <samuel.trace.reed@gmail.com>
This commit is contained in:
parent
bf17304558
commit
b66183f7dc
|
@ -330,7 +330,7 @@ setRemoting(DataAccessObject.exists, {
|
|||
description: 'Check whether a model instance exists in the data source',
|
||||
accepts: {arg: 'id', type: 'any', description: 'Model id', required: true,
|
||||
http: {source: 'path'}},
|
||||
returns: {arg: 'exists', type: 'any'},
|
||||
returns: {arg: 'exists', type: 'boolean'},
|
||||
http: {verb: 'get', path: '/:id/exists'}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue