[backend] Fix build

This commit is contained in:
Laura Hausmann 2024-10-05 20:42:49 +02:00
parent cb28560dcf
commit fbb7140d01
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -97,10 +97,11 @@ public class NoteRenderer(
.Where(f => p.FileIds.Contains(f.Id))
.Select(f => new PreviewAttachment
{
MimeType = f.Type,
Url = f.AccessUrl,
Name = f.Name,
Alt = f.Comment
MimeType = f.Type,
Url = f.AccessUrl,
Name = f.Name,
Alt = f.Comment,
Sensitive = f.IsSensitive
})
.ToList());
}