Unverified Commit 970f85e4 authored by Woosik Kim's avatar Woosik Kim Committed by GitHub

doc: fix typo (#28817)

Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent 3b55a37c
......@@ -145,7 +145,7 @@ export const setCookie = (
options.maxAge /= 1000
}
res.setHeader('Set-Cookie', serialize(name, String(stringValue), options))
res.setHeader('Set-Cookie', serialize(name, stringValue, options))
}
// pages/api/cookies.ts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment