✨ File operations queue
This commit is contained in:
@@ -154,7 +154,7 @@ func DeleteAttachment(item models.Attachment) error {
|
||||
tx.Commit()
|
||||
|
||||
if dat.RefCount == 0 {
|
||||
return DeleteFile(dat)
|
||||
PublishDeleteFileTask(dat)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user