aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-13 14:07:19 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-13 14:07:19 +0100
commit5484abefebb0464158e872be7bbf44a2b1ac3aed (patch)
tree2194b4120d15dc2ab7ba151d26435348da4987cd /api
parent5d02095526c95676ad3f5a6d6763f247bf9e6951 (diff)
remove request/friend works now
Diffstat (limited to 'api')
-rw-r--r--api/social/destroy_relation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/social/destroy_relation.py b/api/social/destroy_relation.py
index 1107024..aac6360 100644
--- a/api/social/destroy_relation.py
+++ b/api/social/destroy_relation.py
@@ -25,6 +25,7 @@ def index():
if relation == "none": return 403
remove_relation(user_1_id, user_2_id)
+ remove_relation(user_2_id, user_1_id)
return "", 200
dynamic_route = ["/social", remove]