Update autogpt_platform/backend/backend/integrations/webhooks/example.py

Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
This commit is contained in:
Swifty
2025-03-12 12:47:50 +01:00
parent a588cf1dc5
commit 5af718c9f5

View File

@@ -70,7 +70,7 @@ class ExampleWebhookManager(ManualWebhookManagerBase):
secret (str): A secret for securing the webhook.
Returns:
tuple: A tuple containing an empty string and the webhook configuration as a dictionary.
tuple: A tuple containing the provider's webhook ID, if any, and the webhook configuration as a dictionary.
"""
# Ensure the credentials are of the correct type.
if not isinstance(credentials, APIKeyCredentials):