Skip to content

Commit

Permalink
Add a property for sponsor name to badge scan status api
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagander committed Nov 23, 2023
1 parent eabde6a commit ba9caa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions postgresqleu/confsponsor/scanning.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ def scanning_api(request, scannertoken, what):
return HttpResponse(json.dumps({
'scanner': scanner.scanner.attendee.username,
'name': '{} for {}'.format(scanner.scanner.fullname, scanner.sponsor.displayname),
'sponsorname': scanner.sponsor.displayname,
'confname': scanner.sponsor.conference.conferencename,
'active': True,
'activestatus': '',
Expand Down

0 comments on commit ba9caa2

Please sign in to comment.