Skip to content

Commit

Permalink
fix: options.priority ternary in serialize validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchurch committed Nov 15, 2024
1 parent 408c2b4 commit e8c8e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit e8c8e81

Please sign in to comment.