Skip to content

Commit

Permalink
use the right kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
jakekaplan committed Sep 6, 2024
1 parent 3ee6ec8 commit 17328ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/events/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ async def raise_for_events_connection_error():
socket_url, headers = _get_socket_url_and_headers()

try:
async with connect(socket_url, additional_headers=headers):
async with connect(socket_url, extra_headers=headers):
pass
except Exception as e:
raise RuntimeError(
Expand Down

0 comments on commit 17328ae

Please sign in to comment.