mirror of
https://github.com/penpot/penpot.git
synced 2025-07-30 02:47:22 +02:00
🎉 Add comments to viewer.
This commit is contained in:
parent
e1db6d3a37
commit
64a6ba1949
45 changed files with 1629 additions and 1074 deletions
|
@ -31,11 +31,14 @@
|
|||
(rx/throw {:type :authorization
|
||||
:code :not-authorized})
|
||||
|
||||
(= (:status response) 404)
|
||||
(rx/throw (:body response))
|
||||
|
||||
(= 0 (:status response))
|
||||
(rx/throw {:type :offline})
|
||||
|
||||
:else
|
||||
(rx/throw {:type :internal-error
|
||||
(rx/throw {:type :server-error
|
||||
:status (:status response)
|
||||
:body (:body response)})))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue