mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 17:11:40 +02:00
💄 Improve json namespace API (and fix linter).
This commit is contained in:
parent
9554dfbc5e
commit
0ee34637f5
8 changed files with 34 additions and 33 deletions
|
@ -59,7 +59,7 @@
|
|||
response (http/send! {:method :post
|
||||
:uri (:uri cfg)
|
||||
:headers {"content-type" "application/json"}
|
||||
:body (json/encode-str data)})]
|
||||
:body (json/write-str data)})]
|
||||
(when (> (:status response) 206)
|
||||
(ex/raise :type :internal
|
||||
:code :invalid-response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue