From e675d4ceda8698d6dc61f97ee40bc0c28fb01532 Mon Sep 17 00:00:00 2001 From: Mariano Martinez Grasso Date: Fri, 28 Jun 2024 19:23:26 -0300 Subject: [PATCH] Fix issue in decorator usage --- app/webhooks/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/webhooks/handlers.py b/app/webhooks/handlers.py index 3ea5841..df17663 100644 --- a/app/webhooks/handlers.py +++ b/app/webhooks/handlers.py @@ -5,7 +5,7 @@ from .core import GenericJsonPayload, GenericJsonTransformConfig -@webhook_activity_logger +@webhook_activity_logger() async def webhook_handler(payload: GenericJsonPayload, integration=None, webhook_config: GenericJsonTransformConfig = None): print(f"Webhook handler executed with integration: {integration}. \nPayload: {payload}. \nConfig: {webhook_config}") if isinstance(payload, list):