Skip to content

Commit

Permalink
Fixed a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
genki committed Mar 1, 2024
1 parent 1f776fc commit 56b4cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/qwik-city/middleware/request-handler/cookie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class Cookie implements CookieInterface {
this[RES_COOKIE][cookieName] = createSetCookieValue(cookieName, resolvedValue, options);
}

delete(name: string, options?: Pick<CookieOptions, 'path' | 'domain', 'sameSite'>) {
delete(name: string, options?: Pick<CookieOptions, 'path' | 'domain' | 'sameSite'>) {
this.set(name, 'deleted', { ...options, maxAge: 0 });
this[LIVE_COOKIE][name] = null;
}
Expand Down

0 comments on commit 56b4cf9

Please sign in to comment.