Merge pull request #351 from globocom/fix/registry-memory
Fix ReferenceError: loopback is not defined in registry.memory().
This commit is contained in:
commit
a976481adb
|
@ -248,7 +248,7 @@ registry.memory = function (name) {
|
||||||
|
|
||||||
if(!memory) {
|
if(!memory) {
|
||||||
memory = this._memoryDataSources[name] = this.createDataSource({
|
memory = this._memoryDataSources[name] = this.createDataSource({
|
||||||
connector: loopback.Memory
|
connector: 'memory'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue