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";