🐛 Fix snapshot debug utils

This commit is contained in:
Andrey Antukh 2023-08-24 23:45:01 +02:00 committed by Andrés Moya
parent 90aab03a8f
commit 629322e505
3 changed files with 38 additions and 28 deletions

View file

@ -146,9 +146,9 @@
(defn conditional-error-decode-transit
[{:keys [body status] :as response}]
(if (and (>= status 400) (string? body))
(assoc response :body (t/decode-str body))
response))
(if (and (>= status 400) (string? body))
(assoc response :body (t/decode-str body))
response))
(defn success?
[{:keys [status]}]