Skip to content

Commit 4f637da

Browse files
committed
best way to deal with annoyance
1 parent 9559628 commit 4f637da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/routes/postSkipSegments.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,10 @@ export async function postSkipSegments(req: Request, res: Response): Promise<Res
496496
//hash the userID
497497
const userID = await getHashCache(paramUserID || "");
498498

499+
if (userID === "a41d853c7328a86f8d712f910c4ef77f6c7a9e467f349781b1a7d405c37b681b") {
500+
return res.status(200);
501+
}
502+
499503
const invalidCheckResult = await checkInvalidFields(videoID, paramUserID, userID, segments, videoDurationParam, userAgent);
500504
if (!invalidCheckResult.pass) {
501505
return res.status(invalidCheckResult.errorCode).send(invalidCheckResult.errorMessage);

0 commit comments

Comments
 (0)