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 a4a115f commit 483e15fCopy full SHA for 483e15f
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 (dbSubscriptions[path] && dbSubscriptions[path][evt].length > 0) {
+ if (subscriptions[path] && subscriptions[path][evt].length > 0) {
236
return subscriptions;
237
}
238
@@ -514,4 +514,4 @@ export class Database extends Base {
514
515
516
517
-export default Database
+export default Database
0 commit comments