mirror of
https://github.com/penpot/penpot.git
synced 2026-07-23 14:38:12 +00:00
🐛 Fix svg media asset upload internal server error
This commit is contained in:
parent
741ad29d82
commit
7f3c67724e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user