Skip to content

Commit

Permalink
Merge pull request #9 from PADAS/activity-logs
Browse files Browse the repository at this point in the history
Fix issue in decorator usage
  • Loading branch information
marianobrc authored Jun 28, 2024
2 parents 96eb5ae + e675d4c commit 2e890a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/webhooks/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2e890a6

Please sign in to comment.