Merge pull request #488 from rlovtangen/patch-1

Update content_negotiation.md
This commit is contained in:
Miikka Koskinen 2021-04-30 13:41:06 +03:00 committed by GitHub
commit f212edfcd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,5 +134,5 @@ If you inspect `m/default-options` it's only a map, therefore you can compose yo
(m/create
(-> m/default-options
(assoc-in [:formats "application/json" :decoder-opts :bigdecimals] true)
(assoc-in [:formats "application/json" :encoder-opts :data-format] "yyyy-MM-dd"))))
(assoc-in [:formats "application/json" :encoder-opts :date-format] "yyyy-MM-dd"))))
```