0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-04 19:11:20 -05:00

🐛 Fix unexpected 404 error on access shared link.

This commit is contained in:
Andrey Antukh 2021-02-09 17:08:15 +01:00 committed by Andrés Moya
parent 9b875aba21
commit d0a8647186

View file

@ -137,7 +137,8 @@
(d/index-by :id)
(assoc state :comment-threads)))
(on-error [{:keys [type] :as err}]
(if (= :authentication type)
(if (or (= :authentication type)
(= :not-found type))
(rx/empty)
(rx/throw err)))]