Skip to content

Commit 745700a

Browse files
authored
Merge pull request #159 from dickyindra/fix/cookie-schema-example
Fix cookie schema example
2 parents ee36b39 + 4d7e504 commit 745700a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/patterns/cookie.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ app.get('/', ({ cookie: { name } }) => {
104104
}
105105
}, {
106106
cookie: t.Cookie({
107-
value: t.Object({
107+
name: t.Object({
108108
id: t.Numeric(),
109109
name: t.String()
110110
})

0 commit comments

Comments
 (0)