From 5d58645f33688658d06aee6ed902fedaa8cfeb37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Thu, 14 Nov 2024 10:57:28 +0100 Subject: [PATCH] chore: fix types --- src/runtime/server/utils/session.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/runtime/server/utils/session.ts b/src/runtime/server/utils/session.ts index c9f7384..1ffd80d 100644 --- a/src/runtime/server/utils/session.ts +++ b/src/runtime/server/utils/session.ts @@ -98,7 +98,6 @@ function _useSession(event: H3Event, config: Partial = {}) { const runtimeConfig = useRuntimeConfig(event) const envSessionPassword = `${runtimeConfig.nitro?.envPrefix || 'NUXT_'}SESSION_PASSWORD` - // @ts-expect-error hard to define with defu sessionConfig = defu({ password: process.env[envSessionPassword] }, runtimeConfig.session) } const finalConfig = defu(config, sessionConfig) as SessionConfig