mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-30 19:38:28 +03:00
Update dependencies & eslint
- update API-Docs link - cast err as string to appease eslint - update package and bump minimum to fix security issue - removed unnecessary filters from gitignore
This commit is contained in:
@@ -57,7 +57,7 @@ export async function setUsername(req: Request, res: Response): Promise<Response
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
Logger.error(error);
|
||||
Logger.error(error as string);
|
||||
return res.sendStatus(500);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ export async function setUsername(req: Request, res: Response): Promise<Response
|
||||
|
||||
return res.sendStatus(200);
|
||||
} catch (err) {
|
||||
Logger.error(err);
|
||||
Logger.error(err as string);
|
||||
return res.sendStatus(500);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user