aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-03-12 15:49:06 -0800
committerShravya Ramesh <shravs1208@gmail.com>2021-03-12 15:49:06 -0800
commit3375ca8e14d868964517d2ff47029301b86277f6 (patch)
tree3a652760515d2df4b135e22b3ab62eacc5073941 /src
parent813e9982bed74a9ccbc3b50b7e553ed1b456c93c (diff)
add friend now works
Diffstat (limited to 'src')
-rw-r--r--src/store/actions/userFriends.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/store/actions/userFriends.ts b/src/store/actions/userFriends.ts
index 054b7fbf..4f55acc8 100644
--- a/src/store/actions/userFriends.ts
+++ b/src/store/actions/userFriends.ts
@@ -50,7 +50,6 @@ export const friendUnfriendUser = (
const token = await getTokenOrLogout(dispatch);
// Calls method to send post or delete request
const success = await friendOrUnfriendUser(
- user.userId,
friend.id,
token,
friendship_status,