Skip to content

Commit

Permalink
VIP doesn't start locked
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Nov 1, 2024
1 parent cb183a4 commit aae3cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/postSkipSegments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export async function postSkipSegments(req: Request, res: Response): Promise<Res
segmentInfo.description, userID, parseFloat(segmentInfo.segment[0]), parseFloat(segmentInfo.segment[1]), service);
const hashedVideoID = getHash(videoID, 1);

const startingLocked = isVIP ? 1 : 0;
const startingLocked = 0;
try {
await db.prepare("run", `INSERT INTO "sponsorTimes"
("videoID", "cid", "startTime", "endTime", "votes", "locked", "UUID", "userID", "timeSubmitted", "views", "category", "actionType", "service", "videoDuration", "reputation", "shadowHidden", "hashedVideoID", "userAgent", "description")
Expand Down

0 comments on commit aae3cfb

Please sign in to comment.