diff --git a/src/modules/config/config.service.ts b/src/modules/config/config.service.ts index f79349e..8e5e487 100644 --- a/src/modules/config/config.service.ts +++ b/src/modules/config/config.service.ts @@ -66,13 +66,11 @@ export class ConfigService extends NestConfigService { const secure = this.get('COOKIE_SECURE'); return { - cookie: { - same_site: - sameSite && boolean(sameSite) - ? boolean(sameSite) - : sameSite || undefined, - secure: secure ? boolean(secure) : undefined, - }, + same_site: + sameSite && boolean(sameSite) + ? boolean(sameSite) + : sameSite || undefined, + secure: secure ? boolean(secure) : undefined, }; }