mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-05-11 10:26:25 +02:00
Fix log
This commit is contained in:
parent
da393da9e9
commit
339ba127eb
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export async function postBranding(req: Request, res: Response) {
|
|||
|
||||
const permission = await canSubmitDeArrow(hashedUserID);
|
||||
if (!permission.canSubmit) {
|
||||
Logger.warn(`New user trying to submit dearrow: ${hashedUserID} ${videoID} ${videoDuration} ${userAgent} ${title?.title} ${req.headers["user-agent"]}`);
|
||||
Logger.warn(`New user trying to submit dearrow: ${hashedUserID} ${videoID} ${videoDuration} ${Object.keys(req.body)} ${userAgent} ${title?.title} ${req.headers["user-agent"]}`);
|
||||
|
||||
res.status(403).send(permission.reason);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue