aboutsummaryrefslogtreecommitdiff
path: root/api/social/create_relation.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-13 13:48:09 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-13 13:48:09 +0100
commit5d02095526c95676ad3f5a6d6763f247bf9e6951 (patch)
treee7155f63ab4a8d95479e9126feba98ec887a50a4 /api/social/create_relation.py
parentd91b95b89bc61228f623effd82810e29d27b1c0c (diff)
friend request delete :tada:
Diffstat (limited to 'api/social/create_relation.py')
-rw-r--r--api/social/create_relation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/social/create_relation.py b/api/social/create_relation.py
index 7451b6d..eded25d 100644
--- a/api/social/create_relation.py
+++ b/api/social/create_relation.py
@@ -14,7 +14,7 @@ def create_relation(user_1_id, user_2_id, relation_type):
def remove_relation(user_1_id, user_2_id):
cursor.execute("delete from social where user_1_id = ? and user_2_id = ?",
[user_1_id, user_2_id])
- connection.commit
+ connection.commit()
def create_relation_route(relation_type):
def route():