Merge pull request #1780 from linguofeng/patch-1
Update persisted-model.js
This commit is contained in:
commit
b4e230389d
|
@ -175,7 +175,7 @@ module.exports = function(registry) {
|
||||||
* @param {Object} instance Model instance matching the specified ID or null if no instance matches.
|
* @param {Object} instance Model instance matching the specified ID or null if no instance matches.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PersistedModel.findById = function find(id, filter, cb) {
|
PersistedModel.findById = function findById(id, filter, cb) {
|
||||||
throwNotAttached(this.modelName, 'findById');
|
throwNotAttached(this.modelName, 'findById');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue