Skip to content

Commit

Permalink
Merge pull request #171 from valerybugakov/valerybugakov-patch-1
Browse files Browse the repository at this point in the history
Docs: fix typo in Rest.md
  • Loading branch information
fbartho authored Nov 7, 2018
2 parents 461b4a3 + a7cc426 commit 48af562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Here is one way you might customize `RestLink`:
"Content-Type": "application/json"
},
credentials: "same-origin",
fieldNameNormalizer: (key: string) => camelCase(name),
fieldNameNormalizer: (key: string) => camelCase(key),
fieldNameDenormalizer: (key: string) => snake_case(key),
typePatcher: {
Post: ()=> {
Expand Down

0 comments on commit 48af562

Please sign in to comment.