Changed display of friends
This commit is contained in:
@@ -10,6 +10,7 @@ public class GetFriendsByUserIdSpec : Specification<UserFriend>
|
||||
Query
|
||||
.Include(x => x.User)
|
||||
.Include(x => x.Friend)
|
||||
.Where(x => x.UserId == userId && x.IsAccepted);
|
||||
.Where(x => x.UserId == userId && x.IsAccepted)
|
||||
.OrderByDescending(x => x.Friend!.Score);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user