aboutsummaryrefslogtreecommitdiff
path: root/api/social/create_relation.py
diff options
context:
space:
mode:
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():