From 5484abefebb0464158e872be7bbf44a2b1ac3aed Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 13 Mar 2021 14:07:19 +0100 Subject: remove request/friend works now --- api/social/destroy_relation.py | 1 + 1 file changed, 1 insertion(+) (limited to 'api/social/destroy_relation.py') 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] -- cgit v1.2.3