fix the most oh my stink bug ever

This commit is contained in:
2025-09-06 17:13:44 +03:00
parent 7f24f7fc26
commit 42b7961659

View File

@@ -47,7 +47,7 @@ def tiropit_add_user():
return jsonify({"error": "Failed to contact db"}), 500
try:
cursor = connection.cursor(dictionary:true)
cursor = connection.cursor(dictionary=True)
user_data = {
"UserID" : str(uuid.uuid4()),
@@ -66,6 +66,7 @@ def tiropit_add_user():
"FriendCode" : friend_code,
}
print(user_data)
@@ -90,6 +91,7 @@ def tiropit_add_user():
if connection.is_connected():
cursor.close()
connection.close()
return jsonify({"error": "An unexpected server error occurred."}), 500