From 56b4cf99021a4bd4cf16e1c678fcbc62ddd5e55d Mon Sep 17 00:00:00 2001 From: Genki Takiuchi Date: Sat, 2 Mar 2024 03:07:57 +0900 Subject: [PATCH] Fixed a mistake --- packages/qwik-city/middleware/request-handler/cookie.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/qwik-city/middleware/request-handler/cookie.ts b/packages/qwik-city/middleware/request-handler/cookie.ts index d2ba1d786f1..ceae7b5930d 100644 --- a/packages/qwik-city/middleware/request-handler/cookie.ts +++ b/packages/qwik-city/middleware/request-handler/cookie.ts @@ -150,7 +150,7 @@ export class Cookie implements CookieInterface { this[RES_COOKIE][cookieName] = createSetCookieValue(cookieName, resolvedValue, options); } - delete(name: string, options?: Pick) { + delete(name: string, options?: Pick) { this.set(name, 'deleted', { ...options, maxAge: 0 }); this[LIVE_COOKIE][name] = null; }