Skip to content

Commit

Permalink
Merge pull request #178 from izayl/patch-1
Browse files Browse the repository at this point in the history
fix(docs): miss braces
  • Loading branch information
elbywan committed Apr 29, 2023
2 parents bda300c + 9e65465 commit 96150f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ When using `wretch`, please be mindful of this limitation and avoid setting the
```js
wretch(url)
.headers("content-type": "application/json")
.headers({ "content-type": "application/json" })
// .json is a shortcut for .headers("Content-Type": "application/json").post().json()
.json({ foo: "bar" })
// Wretch stores the headers inside a plain javascript object and will not deduplicate them.
Expand Down

0 comments on commit 96150f0

Please sign in to comment.