chore(deps): upgrade dependencies for frontend + lint fixes

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2024-10-23 00:32:55 +02:00
parent f121ca3458
commit df6540163c
15 changed files with 681 additions and 357 deletions
frontend/src/pages/api/private

View file

@ -57,6 +57,8 @@ const initialConfig: FrontendConfig = {
let currentConfig: FrontendConfig = initialConfig
const handler = (req: NextApiRequest, res: NextApiResponse) => {
// This is shorter than storing the return boolean in a variable and then calling respondToTestRequest with if
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
respondToMatchingRequest<FrontendConfig>(HttpMethod.GET, req, res, currentConfig, 200, false) ||
respondToTestRequest<FrontendConfig>(req, res, () => {
currentConfig = {