fix: User avatar not correct cleaned up, closes #7337

This commit is contained in:
Tom Moor committed 2024-08-01 22:01:22 +01:00
1 parent 08a6376947
commit bf7fb8aa68
1 file changed
+1 -1
+1 -1
View File
@@ -670,7 +670,7 @@ class User extends ParanoidModel<
if (attachment) {
await DeleteAttachmentTask.schedule({
attachmentId: attachment.id,
teamId: model.id,
teamId: model.teamId,
});
}
}