mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 07:27:01 +03:00
Prepare dockerfile for use, allow configuring via env vars
This commit is contained in:
@@ -63,7 +63,7 @@ const checkUserVIP = async (publicID: HashedUserID) => {
|
||||
|
||||
describe("tempVIP test", function() {
|
||||
before(async function() {
|
||||
if (!config.redis) this.skip();
|
||||
if (!config.redis?.enabled) this.skip();
|
||||
|
||||
const insertSponsorTimeQuery = 'INSERT INTO "sponsorTimes" ("videoID", "startTime", "endTime", "votes", "locked", "UUID", "userID", "timeSubmitted", "views", "category", "shadowHidden") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)';
|
||||
await db.prepare("run", insertSponsorTimeQuery, ["channelid-convert", 0, 1, 0, 0, UUID0, "testman", 0, 50, "sponsor", 0]);
|
||||
|
||||
Reference in New Issue
Block a user