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:
parent
741ad29d82
commit
7f3c67724e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue