From 31ae00d0d3ad93f5d8b91ae5e1e2046067f49e81 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 18 Oct 2019 23:04:06 -0400 Subject: Add missing validate calls --- ext/bg/js/database.js | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3