aboutsummaryrefslogtreecommitdiff
path: root/api/social
diff options
context:
space:
mode:
Diffstat (limited to 'api/social')
-rw-r--r--api/social/friend_accept.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/social/friend_accept.py b/api/social/friend_accept.py
index 8d09862..bc850d2 100644
--- a/api/social/friend_accept.py
+++ b/api/social/friend_accept.py
@@ -21,6 +21,7 @@ def route():
cursor.execute("update social set type = \"friendship\" where user_1_id = ? and user_2_id = ?",
[user_1_id, user_2_id])
+ connection.commit()
return "", 200