Skip to content

Commit

Permalink
update wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
jontyms committed Sep 27, 2024
1 parent a96063a commit 4363857
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/routes/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def create_object(
The pass object ID: f"{issuer_id}.{object_suffix}"
"""
user_id = str(user_data.id)
team_number = str(user_data.team_number)
# Check if the object exists
try:
self.client.eventticketobject().get(
Expand Down Expand Up @@ -92,10 +93,7 @@ def create_object(
}
],
"seatInfo": {
"section": {
"defaultValue": {"language": "en-US", "value": "Team Name Here"}
},
"gate": {"defaultValue": {"language": "en-US", "value": "ENG1-188"}},
"section": {"defaultValue": {"language": "en-US", "value": team_number}}
},
"ticketHolderName": user_data.first_name + " " + user_data.last_name,
"ticketNumber": user_id,
Expand Down

0 comments on commit 4363857

Please sign in to comment.