diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-13 10:46:32 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-13 10:46:32 +0100 |
commit | 056b77e82c72136170084ef0addba013eae22c9d (patch) | |
tree | 7e5e559a0d391a9b5a68ffa852439b43a5ce9ec1 /api/social | |
parent | 371c5fdd505361b226133fb446924f23c58f29c0 (diff) |
friend request accept thingy cool :tada:
Diffstat (limited to 'api/social')
-rw-r--r-- | api/social/friend_accept.py | 1 |
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 |