diff --git a/lib/persisted-model.js b/lib/persisted-model.js index c33e7583..43a9e371 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -158,7 +158,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'); };