Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 6, 2023
1 parent f8624fa commit e347d4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion funnel/models/sync_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,9 @@ def checkin_list(cls, ticket_event: TicketEvent) -> list: # TODO: List type?
TicketEventParticipant,
TicketParticipant.id == TicketEventParticipant.ticket_participant_id,
)
.outerjoin(EmailAddress, EmailAddress.id == TicketParticipant.email_address_id)
.outerjoin(
EmailAddress, EmailAddress.id == TicketParticipant.email_address_id
)
.outerjoin(
SyncTicket, TicketParticipant.id == SyncTicket.ticket_participant_id
)
Expand Down
4 changes: 3 additions & 1 deletion funnel/views/ticket_participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def ticket_participant_checkin_data(ticket_participant, project, ticket_event):
'puuid_b58': puuid_b58,
'fullname': ticket_participant.fullname,
'company': ticket_participant.company,
'email': mask_email(ticket_participant.email) if ticket_participant.email else None,
'email': mask_email(ticket_participant.email)
if ticket_participant.email
else None,
'badge_printed': ticket_participant.badge_printed,
'checked_in': ticket_participant.checked_in,
'ticket_type_titles': ticket_participant.ticket_type_titles,
Expand Down

0 comments on commit e347d4e

Please sign in to comment.