Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Jul 20, 2024
2 parents 4e02da2 + d63a349 commit 1ded3ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public PagedResultDto<UserSubscribeDto> GetUserSubscribeeeList(UserSubscribeSear
Avatar = r.SubscribeUser.Avatar,
Username = r.SubscribeUser.Username,
},
IsSubscribeed = userSubscribeRepository.Select.Any(r => r.CreateUserId == CurrentUser.FindUserId() && r.SubscribeUserId == r.SubscribeUserId)
IsSubscribeed = userSubscribeRepository.Select.Any(u => u.CreateUserId == CurrentUser.FindUserId() && u.SubscribeUserId == r.SubscribeUserId)
});

userSubscribes.ForEach(r => { r.Subscribeer.Avatar = fileRepository.GetFileUrl(r.Subscribeer.Avatar); });
Expand Down

0 comments on commit 1ded3ea

Please sign in to comment.