Skip to content

Commit

Permalink
Updating all names when syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Oct 18, 2024
1 parent d9e7838 commit 1098aa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/tuber/api/uber.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ def sync_attendees(event):
badge.first_name = uber_model['first_name']
badge.last_name = uber_model['last_name']
badge.public_name = uber_model['full_name']
badge.legal_name = uber_model['legal_name']
badge.search_name = f"{uber_model['first_name']} {uber_model['last_name']}".lower(),
db.add(badge)
if uber_model['badge_status_label'] == "Deferred":
if attendee in badgelookup:
Expand Down

0 comments on commit 1098aa2

Please sign in to comment.