Merge pull request #1780 from linguofeng/patch-1

Update persisted-model.js
This commit is contained in:
Simon Ho 2016-03-22 16:10:22 -07:00
commit b4e230389d
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ module.exports = function(registry) {
* @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');
};