fix: remove unused ts-ignore

This commit is contained in:
Shaun Hamilton
2023-11-08 06:59:55 +00:00
committed by renovate[bot]
parent 9abff22c6d
commit 3cc47929cf
-3
View File
@@ -114,9 +114,6 @@ export const build = async (
await fastify.register(cors);
await fastify.register(fastifyCookie);
// @ts-expect-error @fastify/csrf-protection is overly restrictive, here. It
// requires an hmacKey if getToken is provided, but that should only be a
// requirement if the getUserInfo function is provided.
void fastify.register(fastifyCsrfProtection, {
// TODO: consider signing cookies. We don't on the api-server, but we could
// as an extra layer of security.