diff --git a/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java b/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java index 58e6151..bf32a70 100644 --- a/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java +++ b/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java @@ -46,7 +46,7 @@ public MutableLiveData> getRequestingLiveData() { return requestingLiveData; } public void searchFriend(String uid,String fid, String token) { - Call call = friendsRest.putFriend (); + Call call = friendsRest.putFriend(uid,fid,token); call.enqueue(new Callback() { @Override public void onResponse(Call call, Response response) {