From 4898ba23a59cb7196df35b58dedfe9a11b68fb91 Mon Sep 17 00:00:00 2001 From: Jon Church Date: Fri, 15 Nov 2024 14:51:17 -0500 Subject: [PATCH] fix: `options.priority` used incorrect fallback (#207) --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index af222fc..b4aab01 100644 --- a/src/index.ts +++ b/src/index.ts @@ -311,7 +311,7 @@ export function serialize( const priority = typeof options.priority === "string" ? options.priority.toLowerCase() - : options.sameSite; + : undefined; switch (priority) { case "low": str += "; Priority=Low";