Fix a typo
This commit is contained in:
parent
24f20d2ba7
commit
48e8ebed7b
|
@ -89,7 +89,7 @@ DataAccessObject.defaultScope = function(target, inst) {
|
|||
DataAccessObject.applyScope = function(query, inst) {
|
||||
var scope = this.defaultScope(query, inst) || {};
|
||||
if (typeof scope === 'object') {
|
||||
mergeQuery(query, scope || {}, this.definition.settings.scoping);
|
||||
mergeQuery(query, scope || {}, this.definition.settings.scope);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue