Compare commits
2 Commits
41229ba0bb
...
75ce450d43
| Author | SHA1 | Date | |
|---|---|---|---|
| 75ce450d43 | |||
| 043937ad11 |
@ -1,5 +1,5 @@
|
||||
[tool.bumpversion]
|
||||
current_version = "1.3.8"
|
||||
current_version = "1.3.9"
|
||||
commit = true
|
||||
tag = true
|
||||
tag_name = "{new_version}"
|
||||
|
||||
@ -237,8 +237,8 @@ def delete_account(user_id: int) -> Response:
|
||||
A Flask JSON response confirming the account was deleted.
|
||||
"""
|
||||
data = request.form
|
||||
query = "DELETE FROM userAccounts WHERE username = %s AND stream = %s AND userId = %s"
|
||||
params = (data["user"], data["stream"], user_id)
|
||||
query = "DELETE FROM userAccounts WHERE id = %s AND userID = %s"
|
||||
params = (data["id"], user_id)
|
||||
result = _execute_query(query, params)
|
||||
return jsonify(result)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user