Fixed TS Errors

This commit is contained in:
2025-10-31 16:45:27 +01:00
parent 55c101df12
commit 61835c3f26
5 changed files with 22 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ export default fp(async (server: FastifyInstance, opts: { allowedPrefix?: string
key: apiKey,
};
} catch (err) {
// @ts-ignore
server.log.error("[M2M Auth] Fehler beim Prüfen des API-Keys:", err);
return reply.status(500).send({ error: "Internal Server Error" });
}