Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 committed Oct 5, 2023
1 parent fd6e3cc commit 9716c11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dispatch/incident/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,7 @@ def update_custom_event(
}
)
else:
event_in.details = (
{"updated_by": current_user.email, "updated_on": str(datetime.utcnow())}
)
event_in.details = {"updated_by": current_user.email, "updated_on": str(datetime.utcnow())}
"""Updates a custom event."""
background_tasks.add_task(
event_flows.update_incident_event,
Expand Down

0 comments on commit 9716c11

Please sign in to comment.