Fix "ReferenceError: loopback is not defined" in registry.memory().
Signed-off-by: Guilherme Cirne <gcirne@gmail.com>
This commit is contained in:
parent
e148bb0e30
commit
3fba6c50f0
|
@ -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