Merge pull request #330 from strongloop/feature/fix-forgotten-loopback-reference-in-app
lib/application: Remove forgotten `loopback` ref
This commit is contained in:
commit
7dc2521c07
|
@ -141,7 +141,7 @@ app.model = function (Model, config) {
|
|||
configureModel(Model, config, this);
|
||||
isPublic = config.public !== false;
|
||||
} else {
|
||||
assert(Model.prototype instanceof loopback.Model,
|
||||
assert(Model.prototype instanceof registry.Model,
|
||||
'Model must be a descendant of loopback.Model');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue