diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-18 23:04:06 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-18 23:04:06 -0400 |
commit | 31ae00d0d3ad93f5d8b91ae5e1e2046067f49e81 (patch) | |
tree | 49854c6a75d846ea7e9571e9c8152e897b756a26 | |
parent | 127a728675820aa7f92d14cff6559aef99bd78e4 (diff) |
Add missing validate calls
-rw-r--r-- | ext/bg/js/database.js | 4 |
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; |