Skip to content

Commit

Permalink
Fixing syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Oct 16, 2024
1 parent 60fb5ee commit e5dd8f1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions backend/tuber/api/uber.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ def staffer_auth(slug):
badge_type=staff_badge_type.id,
printed_number=result['badge_num'],
printed_name=result['badge_printed_name'],
public_name=f"{result['first_name']} {result{'last_name'}}",
search_name=f"{result['first_name']} {result{'last_name'}}".lower(),
public_name=f"{result['first_name']} {result['last_name']}",
search_name=f"{result['first_name']} {result['last_name']}".lower(),
first_name=result['first_name'],
last_name=result['last_name'],
legal_name=result['legal_name'],
Expand All @@ -363,11 +363,6 @@ def staffer_auth(slug):
uber_id=result['id']
)

req = {
"method": "dept.list",
"params": []
}

departments = db.query(Department).filter(Department.event == event_obj.id).all()
dept_by_uber_id = {x.uber_id: x for x in departments}

Expand Down

0 comments on commit e5dd8f1

Please sign in to comment.