mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 17:17:13 +02:00
🐛 Fix snapshot debug utils
This commit is contained in:
parent
90aab03a8f
commit
629322e505
3 changed files with 38 additions and 28 deletions
|
@ -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]}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue