diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-13 13:48:09 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-13 13:48:09 +0100 |
commit | 5d02095526c95676ad3f5a6d6763f247bf9e6951 (patch) | |
tree | e7155f63ab4a8d95479e9126feba98ec887a50a4 /api/social/create_relation.py | |
parent | d91b95b89bc61228f623effd82810e29d27b1c0c (diff) |
friend request delete :tada:
Diffstat (limited to 'api/social/create_relation.py')
-rw-r--r-- | api/social/create_relation.py | 2 |
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(): |