Skip to content

Commit

Permalink
Resolve issue with cleaning up thumbnails.
Browse files Browse the repository at this point in the history
  • Loading branch information
samcf committed Oct 13, 2024
1 parent 7eb860d commit f7c30bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/ogres/app/provider/image.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
(js/Promise.all
#js [(write :put [#js {"checksum" (:hash out) "data" (:data out)}])
(if (not= hash thumb)
(write :delete thumb))
(write :delete [thumb]))
out]))))
(.then
(fn [[_ _ data]]
Expand Down

0 comments on commit f7c30bb

Please sign in to comment.