0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

🐛 Fix problem with thumbnails uploading

This commit is contained in:
alonso.torres 2023-01-09 11:05:31 +01:00
parent 672cfa4ecc
commit c2e0b18f26

View file

@ -107,7 +107,7 @@
(->> (http/send! request)
(rx/map http/conditional-decode-transit)
(rx/mapcat handle-response)
(rx/catch body-too-large? (constantly nil))
(rx/catch body-too-large? (constantly (rx/of nil)))
(rx/map (constantly params)))))
(defmethod impl/handler :thumbnails/generate