Fixes for emit `remoteMethodDisabled` PR
See https://github.com/strongloop/loopback/pull/2266#issuecomment-215689358
This commit is contained in:
parent
04f5434894
commit
d16c789638
|
@ -153,7 +153,7 @@ app.model = function(Model, config) {
|
|||
this.emit('modelRemoted', Model.sharedClass);
|
||||
}
|
||||
|
||||
self = this;
|
||||
var self = this;
|
||||
Model.on('remoteMethodDisabled', function(model, methodName) {
|
||||
self.emit('remoteMethodDisabled', model, methodName);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue