[fix] Update bad variable reference
This commit is contained in:
parent
d334d07b6e
commit
0234e17804
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ var Provider = exports.Provider = function (options) {
|
|||
this.add(options.store.name || options.store.type, options.store);
|
||||
}
|
||||
else if (options.stores) {
|
||||
Object.keys(options.stores).forEach(function (store) {
|
||||
Object.keys(options.stores).forEach(function (name) {
|
||||
var store = options.stores[name];
|
||||
self.add(store.name || store.type, store);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue