diff --git a/backend/src/app/storage/impl.clj b/backend/src/app/storage/impl.clj index e08d5ce50..c5623dd5a 100644 --- a/backend/src/app/storage/impl.clj +++ b/backend/src/app/storage/impl.clj @@ -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)