small fix

This commit is contained in:
Artemy
2025-07-24 14:45:01 +07:00
parent 73f22a3ace
commit 53ea25f9fd
5 changed files with 26 additions and 23 deletions
@@ -33,8 +33,7 @@ public class FriendshipService : IFriendshipService
}
catch (NotFoundByKeyException<(string, Guid)> ex)
{
throw new SearchUsersException(
$"Users with given query: \"{query}\" for user with id {currentId} was not found", ex);
return [];
}
catch (NotFoundByKeyException<Guid> ex)
{