mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-18 13:20:56 +00:00
Address the problem that callback get invoked with wrong signature 😅
This commit is contained in:
@@ -55,7 +55,7 @@ BridgeSetupManager.prototype.handleReadRequest = function(callback, context) {
|
||||
}
|
||||
|
||||
if (!this.session) {
|
||||
callback(null);
|
||||
callback(null, null);
|
||||
} else {
|
||||
this.session.handleReadRequest(callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user