diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/notificationsArea.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/notificationsArea.tsx b/components/notificationsArea.tsx index ab29f9c..86b90b7 100644 --- a/components/notificationsArea.tsx +++ b/components/notificationsArea.tsx @@ -89,7 +89,7 @@ function FriendRequest(props: { return !gone && <Acceptable onAccept={() => { axios.request({ method: "post", - url: `/api/social/accept`, + url: "/api/social/accept", headers: {"content-type": "application/json"}, data: { "id": props.user?.id } }) @@ -97,7 +97,7 @@ function FriendRequest(props: { }} onDeny={() => { axios.request({ method: "post", - url: `/api/social/remove`, + url: "/api/social/remove", headers: {"content-type": "application/json"}, data: { "id": props.user?.id } }) |