mirror of
https://github.com/metosin/reitit.git
synced 2026-02-01 10:20:35 +00:00
fix muuntaja interceptor
This commit is contained in:
parent
57bcf2ab44
commit
5d9d2a4e0a
1 changed files with 1 additions and 1 deletions
|
|
@ -101,5 +101,5 @@
|
||||||
:compile (fn [{:keys [muuntaja]} _]
|
:compile (fn [{:keys [muuntaja]} _]
|
||||||
(if-let [muuntaja (or muuntaja default-muuntaja)]
|
(if-let [muuntaja (or muuntaja default-muuntaja)]
|
||||||
(merge
|
(merge
|
||||||
(stripped (muuntaja.interceptor/format-request-interceptor muuntaja))
|
(stripped (muuntaja.interceptor/format-response-interceptor muuntaja))
|
||||||
{:data {:swagger {:produces (displace (m/encodes muuntaja))}}})))}))
|
{:data {:swagger {:produces (displace (m/encodes muuntaja))}}})))}))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue