Update validate function name in close

This commit is contained in:
toasted-nutbread 2020-02-22 12:45:50 -05:00
parent 86d0fb6643
commit d76ab91f83

View File

@ -100,7 +100,7 @@ class Database {
} }
async close() { async close() {
this.validate(); this._validate();
this.db.close(); this.db.close();
this.db = null; this.db = null;
} }