aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-18 23:04:06 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-18 23:04:06 -0400
commit31ae00d0d3ad93f5d8b91ae5e1e2046067f49e81 (patch)
tree49854c6a75d846ea7e9571e9c8152e897b756a26 /ext/bg
parent127a728675820aa7f92d14cff6559aef99bd78e4 (diff)
Add missing validate calls
Diffstat (limited to 'ext/bg')
-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;