Add missing validate calls

This commit is contained in:
toasted-nutbread 2019-10-18 23:04:06 -04:00
parent 127a728675
commit 31ae00d0d3

View File

@ -59,6 +59,8 @@ class Database {
} }
async findTermsBulk(terms, titles) { async findTermsBulk(terms, titles) {
this.validate();
const promises = []; const promises = [];
const visited = {}; const visited = {};
const results = []; const results = [];
@ -116,6 +118,8 @@ class Database {
} }
async findTermMetaBulk(terms, titles) { async findTermMetaBulk(terms, titles) {
this.validate();
const promises = []; const promises = [];
const results = []; const results = [];
const createResult = Database.createTermMeta; const createResult = Database.createTermMeta;