mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
build: upgrade lowdb (#689)
This commit is contained in:
committed by
GitHub
parent
3d9a9a2226
commit
a567fdc446
@@ -53,7 +53,7 @@ async function loadDb() {
|
||||
const dbInDisk = populateDb();
|
||||
|
||||
const adapter = new JSONFile<DatabaseModel>(dbInDisk);
|
||||
const db = new Low(adapter);
|
||||
const db = new Low(adapter, dbModel);
|
||||
|
||||
const data = await parseDb(dbInDisk, db);
|
||||
if (data === null) {
|
||||
|
||||
Reference in New Issue
Block a user