Ignore:
Timestamp:
03/24/26 22:13:36 (3 months ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Children:
7fbb91c
Parents:
acf690c
Message:

Fixed reading lists,comments and likes

Location:
ChapterX.Application/Notification/Commands
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.Application/Notification/Commands/AddHandler.cs

    racf690c r73b69b2  
    2222                Content = request.Content,
    2323                IsRead = false,
    24                 CreatedAt = DateTime.UtcNow
     24                CreatedAt = DateTime.UtcNow,
     25                RecipientUserId = request.RecipientUserId,
     26                Type = request.Type,
     27                Link = request.Link,
    2528            };
    2629
  • ChapterX.Application/Notification/Commands/AddRequest.cs

    racf690c r73b69b2  
    33namespace ChapterX.Application.Notification.Commands
    44{
    5     public record AddRequest(string Content) : IRequest<AddResponse>;
     5    public record AddRequest(string Content, int? RecipientUserId = null, string? Type = null, string? Link = null) : IRequest<AddResponse>;
    66}
Note: See TracChangeset for help on using the changeset viewer.