Ignore:
Timestamp:
07/02/26 23:35:59 (3 days ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Parents:
3ae4bab
Message:

AI suggestions fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.Infrastructure/Repositories/AISuggestionRepository.cs

    r3ae4bab ra6e33d1  
    2121        {
    2222            return await _dbSet
    23                 .Where(a => a.StoryId == chapterId)
     23                .Include(a => a.SuggestionTypes)
     24                .Where(a => a.NeedApprovals.Any(na => na.ChapterId == chapterId))
    2425                .ToListAsync(cancellationToken);
    2526        }
Note: See TracChangeset for help on using the changeset viewer.