Skip to content

Commit

Permalink
Update packages/kit/src/runtime/server/cookie.js
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Nov 21, 2024
1 parent c88916b commit 3c83ff7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/kit/src/runtime/server/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export function get_cookies(request, url, trailing_slash) {
return c.value;
}

// `parse` uses default decoder if `opts.decode` is undefined
const req_cookies = parse(header, { decode: opts?.decode });
const cookie = req_cookies[name]; // the decoded string or undefined

Expand Down

0 comments on commit 3c83ff7

Please sign in to comment.