Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs(server-routes): update req cookies example
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Aug 21, 2022
1 parent 5f5235c commit 2eceb8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/2.guide/2.features/9.server-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default defineEventHandler((event) => {

```ts
export default defineEventHandler((event) => {
const cookies = useCookies(event)
const cookies = parseCookies(event)
return { cookies }
})
```
Expand Down

0 comments on commit 2eceb8a

Please sign in to comment.