From e603e90d1f54f46bd9060504fd71c5139c7b760b Mon Sep 17 00:00:00 2001 From: 2berius <90366044+2berius@users.noreply.github.com> Date: Wed, 21 Jun 2023 17:01:12 -0700 Subject: [PATCH] Update webhook.py Line 124 has been updated to reflect the proper class name as per RhombusAPI/api/integrations_webservice_api.py - program will issue an error at runtime otherwise. AttributeError: module 'RhombusAPI' has no attribute 'IntegrationWebserviceApi' --- ExtendedAIModule/rhombus_services/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExtendedAIModule/rhombus_services/webhook.py b/ExtendedAIModule/rhombus_services/webhook.py index 100873b..4811b1d 100644 --- a/ExtendedAIModule/rhombus_services/webhook.py +++ b/ExtendedAIModule/rhombus_services/webhook.py @@ -121,7 +121,7 @@ def __run(api_client: rapi.ApiClient) -> None: tunnel_url = __start_ngrok() # Get the API. - api = rapi.IntegrationWebserviceApi(api_client) + api = rapi.IntegrationsWebserviceApi(api_client) # Make the request to Rhombus containing our webhook URL. body = rapi.IntegrationUpdateWebhookIntegrationWSRequest(