Skip to content

Commit

Permalink
Fixing Transphobic issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Riveong committed Dec 8, 2023
1 parent 00335c4 commit b69ed2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ def put_profile_user(data: UserSchema, email):
mydb.commit()
mycursor.close()
close_db_connection(mydb, "User")
if (gender==True):
gender = 1
elif (gender==False):
gender = 0
return {"error":"false",
"message":"successfully updating user data",
"user_data": {
Expand Down

0 comments on commit b69ed2e

Please sign in to comment.