mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-10 05:27:00 +03:00
rephrase old rejection logs
This commit is contained in:
@@ -73,7 +73,7 @@ export async function postBranding(req: Request, res: Response) {
|
|||||||
},
|
},
|
||||||
endpoint: "dearrow-postBranding",
|
endpoint: "dearrow-postBranding",
|
||||||
})) {
|
})) {
|
||||||
Logger.warn(`Rejecting submission based on invalid data: ${hashedUserID} ${videoID} ${videoDuration} ${userAgent} ${req.headers["user-agent"]} ${title.title} ${thumbnail.timestamp}`);
|
Logger.warn(`Dearrow submission rejected by request validator: ${hashedUserID} ${videoID} ${videoDuration} ${userAgent} ${req.headers["user-agent"]} ${title.title} ${thumbnail.timestamp}`);
|
||||||
res.status(200).send("OK");
|
res.status(200).send("OK");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ export async function postSkipSegments(req: Request, res: Response): Promise<Res
|
|||||||
segments,
|
segments,
|
||||||
endpoint: "sponsorblock-postSkipSegments"
|
endpoint: "sponsorblock-postSkipSegments"
|
||||||
})) {
|
})) {
|
||||||
Logger.warn(`Rejecting submission based on invalid data: ${userID} ${videoID} ${videoDurationParam} ${userAgent} ${req.headers["user-agent"]}`);
|
Logger.warn(`Sponsorblock submission rejected by request validator: ${userID} ${videoID} ${videoDurationParam} ${userAgent} ${req.headers["user-agent"]}`);
|
||||||
return res.status(200).send("OK");
|
return res.status(200).send("OK");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user