0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 16:21:57 -05:00

🐛 Fix svg media asset upload internal server error

This commit is contained in:
Andrey Antukh 2022-03-20 13:04:12 +01:00
parent 741ad29d82
commit 7f3c67724e

View file

@ -213,6 +213,10 @@
(.reset path-or-stream)
result)
(string? path-or-stream)
(-> (bh/blake2b-256 path-or-stream)
(bc/bytes->hex))
:else
(with-open [is (io/input-stream path-or-stream)]
(-> (bh/blake2b-256 is)