Small fixes

This commit is contained in:
2026-06-01 11:40:54 +02:00
parent 6509c6af1c
commit a73f9e0665
2 changed files with 7 additions and 8 deletions

View File

@@ -55,12 +55,12 @@ function inset_keys() {
return;
}
pool.run(`
INSERT INTO userData (name, value) VALUES ("pass", "");
INSERT INTO userData (name, value) VALUES ("omdb_key", "");
INSERT INTO userData (name, value) VALUES ("twitch_client_id", "");
INSERT INTO userData (name, value) VALUES ("twitch_client_secret", "");
`);
const stmt = pool.prepare("INSERT INTO userData (name, value) VALUES (?, ?)");
stmt.run("pass", "");
stmt.run("omdb_key", "");
stmt.run("twitch_client_id", "");
stmt.run("twitch_client_secret", "");
stmt.finalize();
}
inset_keys();