Skip to content

Commit

Permalink
fix: events.resend was missing v1 url prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dgellow committed Dec 11, 2024
1 parent 8fac1ff commit 8c53c3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lithic/resources/events/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def resend(
) -> None:
"""Resend an event to an event subscription."""
self._post(
f"/events/{event_token}/event_subscriptions/{event_subscription_token}/resend",
f"/v1/events/{event_token}/event_subscriptions/{event_subscription_token}/resend",
options=make_request_options(extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body),
cast_to=NoneType,
)
Expand Down Expand Up @@ -537,7 +537,7 @@ async def resend(
) -> None:
"""Resend an event to an event subscription."""
await self._post(
f"/events/{event_token}/event_subscriptions/{event_subscription_token}/resend",
f"/v1/events/{event_token}/event_subscriptions/{event_subscription_token}/resend",
options=make_request_options(extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body),
cast_to=NoneType,
)
Expand Down

0 comments on commit 8c53c3c

Please sign in to comment.