Skip to content

Commit

Permalink
Remove Comma That Broke Everything (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaygandecha authored Nov 12, 2024
1 parent a98e86c commit 4761401
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions backend/services/office_hours/office_hours.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,13 @@ def get_office_hour_get_help_overview(
active_ticket = active_tickets[0] if len(active_tickets) > 0 else None

# Find queue position
queue_tickets = (
sorted(
[
ticket
for ticket in queue_entity.tickets
if ticket.state == TicketState.QUEUED
],
key=lambda ticket: ticket.created_at,
),
queue_tickets: list[OfficeHoursTicketEntity] = sorted(
[
ticket
for ticket in queue_entity.tickets
if ticket.state == TicketState.QUEUED
],
key=lambda ticket: ticket.created_at,
)

queue_position = (
Expand Down

0 comments on commit 4761401

Please sign in to comment.