Skip to content

Commit

Permalink
python: Fix sync / async mismatch for op-webhook-endpoint API (#1535)
Browse files Browse the repository at this point in the history
We were returning the `Async` API object from the sync client's method.
  • Loading branch information
svix-jplatte authored Nov 27, 2024
2 parents f3ff715 + bba39d0 commit 6c7c253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/svix/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1657,8 +1657,8 @@ def statistics(self) -> Statistics:
return Statistics(self._client)

@property
def operational_webhook_endpoint(self) -> OperationalWebhookEndpointAsync:
return OperationalWebhookEndpointAsync(self._client)
def operational_webhook_endpoint(self) -> OperationalWebhookEndpoint:
return OperationalWebhookEndpoint(self._client)


__all__ = [
Expand Down

0 comments on commit 6c7c253

Please sign in to comment.