mirror of
https://github.com/penpot/penpot.git
synced 2025-02-28 17:56:50 -05:00
🐛 Add missing handling of file_change on delete-object task
This commit is contained in:
parent
893f19fa5e
commit
d2c800fc0f
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@
|
|||
:file-id id
|
||||
:cause cause))))
|
||||
|
||||
;; Mark file change to be deleted
|
||||
(db/update! conn :file-change
|
||||
{:deleted-at deleted-at}
|
||||
{:file-id id})
|
||||
|
||||
;; Mark file media objects to be deleted
|
||||
(db/update! conn :file-media-object
|
||||
{:deleted-at deleted-at}
|
||||
|
|
Loading…
Add table
Reference in a new issue