Fix a typo

This commit is contained in:
Raymond Feng 2014-12-03 15:07:35 -08:00
parent 24f20d2ba7
commit 48e8ebed7b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
};