mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
Update content_negotiation.md
Not 100% sure, but looks like it should be :date-format, not :data-format here, based on the example in the section above.
This commit is contained in:
parent
caa571cd66
commit
1494641ab8
1 changed files with 1 additions and 1 deletions
|
|
@ -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"))))
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue