We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85f5fa commit e34988bCopy full SHA for e34988b
lib/modules/database.js
@@ -232,7 +232,7 @@ class DatabaseRef extends ReferenceBase {
232
const path = this.dbPath();
233
return this.db.off(path, evt, origCB)
234
.then(({callback, subscriptions}) => {
235
- if (subscriptions[path] && subscriptions[path][evt].length > 0) {
+ if (dbSubscriptions[path] && dbSubscriptions[path][evt].length > 0) {
236
return subscriptions;
237
}
238
0 commit comments