aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-12 19:02:56 -0500
committerGitHub <noreply@github.com>2021-03-12 19:02:56 -0500
commitf1e4e10b6d67a87a02fc8b7af1072aa0d8886364 (patch)
tree3a652760515d2df4b135e22b3ab62eacc5073941 /src
parent813e9982bed74a9ccbc3b50b7e553ed1b456c93c (diff)
parent3375ca8e14d868964517d2ff47029301b86277f6 (diff)
Merge pull request #296 from shravyaramesh/bug-add-friend-not-working
[bugfix] add friend not working
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,