Skip to content

Commit

Permalink
Remove whereExpression in roomRepository.Get
Browse files Browse the repository at this point in the history
  • Loading branch information
DKymachynskyi committed Sep 18, 2023
1 parent 56ce243 commit e6af000
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ public async Task<SearchResult<WorkshopProviderViewCard>> GetByProviderId(Guid i
var chatrooms = roomRepository.Get(
skip: 0,
take: 0,
includeProperties: "ChatMessages",
x => x.ChatMessages.Any(x => x.ReadDateTime == null && !x.SenderRoleIsProvider));
includeProperties: "ChatMessages");

var workshopProviderViewCards = mapper.Map<List<WorkshopProviderViewCard>>(workshops);

Expand Down

0 comments on commit e6af000

Please sign in to comment.