aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/database.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/database.js')
-rw-r--r--ext/bg/js/database.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js
index 3de4c8b5..c46b5228 100644
--- a/ext/bg/js/database.js
+++ b/ext/bg/js/database.js
@@ -59,6 +59,8 @@ class Database {
}
async findTermsBulk(terms, titles) {
+ this.validate();
+
const promises = [];
const visited = {};
const results = [];
@@ -116,6 +118,8 @@ class Database {
}
async findTermMetaBulk(terms, titles) {
+ this.validate();
+
const promises = [];
const results = [];
const createResult = Database.createTermMeta;