Skip to content

Commit 38249fa

Browse files
authored
Update schema-type.md (#293)
fix
1 parent 17aa6d2 commit 38249fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/validation/schema-type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ In simpler terms, a stringified state that sent with every request.
268268

269269
This field is usually used to enforce some specific cookie field.
270270

271-
A cookie is a special header field that Fetch API doesn't accept a custom value but is managed by the browser. To send a cookie, you must use a `credential` field instead:
271+
A cookie is a special header field that Fetch API doesn't accept a custom value but is managed by the browser. To send a cookie, you must use a `credentials` field instead:
272272

273273
```typescript
274274
fetch('https://elysiajs.com/', {
275-
credential: 'include'
275+
credentials: 'include'
276276
})
277277
```
278278

0 commit comments

Comments
 (0)