Ignore:
Timestamp:
03/22/26 17:58:40 (4 months ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Children:
73b69b2
Parents:
b62cefc
Message:

Added fixes for the login,stories management and reading lists

File:
1 edited

Legend:

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

    rb62cefc racf690c  
    1818        public async Task<AddResponse> Handle(AddRequest request, CancellationToken cancellationToken)
    1919        {
     20            var exists = await _readingListItemsRepository.ExistsAsync(request.ReadingListId, request.StoryId, cancellationToken);
     21            if (exists)
     22                throw new InvalidOperationException("Story is already in this reading list.");
     23
    2024            var readingListItems = new Domain.Entities.ReadingListItems
    2125            {
Note: See TracChangeset for help on using the changeset viewer.