From 3cc47929cf1e0deb3dc755aa52418ec8e1b2f326 Mon Sep 17 00:00:00 2001 From: Shaun Hamilton Date: Wed, 8 Nov 2023 06:59:55 +0000 Subject: [PATCH] fix: remove unused ts-ignore --- api/src/app.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/src/app.ts b/api/src/app.ts index 52ba8da5f13..cb27c5a8582 100644 --- a/api/src/app.ts +++ b/api/src/app.ts @@ -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.