feat: refine content calendar experience
This commit is contained in:
@@ -19,6 +19,10 @@ public record CommentDto(
|
||||
string AuthorEmail,
|
||||
string? AuthorPortraitUrl,
|
||||
string Body,
|
||||
string? AttachmentFileName,
|
||||
string? AttachmentContentType,
|
||||
long? AttachmentSizeBytes,
|
||||
string? AttachmentBlobUrl,
|
||||
DateTimeOffset CreatedAt);
|
||||
|
||||
public class GetCommentsHandler(
|
||||
@@ -73,6 +77,10 @@ public class GetCommentsHandler(
|
||||
comment.AuthorEmail,
|
||||
authorPortraits.GetValueOrDefault(comment.AuthorUserId),
|
||||
comment.Body,
|
||||
comment.AttachmentFileName,
|
||||
comment.AttachmentContentType,
|
||||
comment.AttachmentSizeBytes,
|
||||
comment.AttachmentBlobUrl,
|
||||
comment.CreatedAt))
|
||||
.ToList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user