mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Fixed captialization error
This commit is contained in:
parent
8312cfc0aa
commit
3c3c963fd3
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ async function dbSponsorTimesAdd(db: IDatabase, videoID: string, startTime: numb
|
|||
}
|
||||
|
||||
async function dbSponsorTimesCompareExpect(db: IDatabase, videoId: string, expectdHidden: number) {
|
||||
let seg = await db.prepare('get', `SELECT "hidden", "UUID" FROM "sponsorTimes" WHERE "videoId" = ?`, [videoId]);
|
||||
let seg = await db.prepare('get', `SELECT "hidden", "UUID" FROM "sponsorTimes" WHERE "videoID" = ?`, [videoId]);
|
||||
for (let i = 0, len = seg.length; i < len; i++) {
|
||||
if (seg.hidden !== expectdHidden) {
|
||||
return `${seg.UUID} hidden expected to be ${expectdHidden} but found ${seg.hidden}`;
|
||||
|
|
Loading…
Reference in a new issue