From ffc6b7cd6e454627c95044e88037b37d31dcfce3 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 8 Apr 2021 09:29:49 +0300 Subject: Updated adding and removing friends to work with friend username, instead of friend id (temporary solution?) --- src/Services/DevHive.Services/Interfaces/IFriendsService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Services/DevHive.Services/Interfaces') diff --git a/src/Services/DevHive.Services/Interfaces/IFriendsService.cs b/src/Services/DevHive.Services/Interfaces/IFriendsService.cs index e337793..52f23f3 100644 --- a/src/Services/DevHive.Services/Interfaces/IFriendsService.cs +++ b/src/Services/DevHive.Services/Interfaces/IFriendsService.cs @@ -5,7 +5,7 @@ namespace DevHive.Services.Interfaces { public interface IFriendsService { - Task AddFriend(Guid userId, Guid friendId); - Task RemoveFriend(Guid userId, Guid friendId); + Task AddFriend(Guid userId, string friendUsername); + Task RemoveFriend(Guid userId, string friendUsername); } } -- cgit v1.2.3