mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-31 03:48:37 +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:
@@ -458,7 +458,7 @@ export async function voteOnSponsorTime(req: Request, res: Response): Promise<Re
|
||||
}
|
||||
return res.status(finalResponse.finalStatus).send(finalResponse.finalMessage ?? undefined);
|
||||
} catch (err) {
|
||||
Logger.error(err);
|
||||
Logger.error(err as string);
|
||||
return res.status(500).json({error: "Internal error creating segment vote"});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user