Fix comment

This commit is contained in:
Lunny Xiao 2025-07-21 08:44:21 -07:00
parent a15917611c
commit 9b164e0724
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -146,7 +146,6 @@ func deleteComment(ctx context.Context, comment *issues_model.Comment, removeAtt
} }
if removeAttachments { if removeAttachments {
// mark comment attachments as deleted
return repo_model.DeleteAttachments(ctx, comment.Attachments) return repo_model.DeleteAttachments(ctx, comment.Attachments)
} }
return nil, nil return nil, nil