Add missing validate calls
This commit is contained in:
parent
127a728675
commit
31ae00d0d3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user