diff --git a/pretalx_webhook/__init__.py b/pretalx_webhook/__init__.py index 485f44a..ae73625 100644 --- a/pretalx_webhook/__init__.py +++ b/pretalx_webhook/__init__.py @@ -1 +1 @@ -__version__ = "0.1.1" +__version__ = "0.1.3" diff --git a/pretalx_webhook/signals.py b/pretalx_webhook/signals.py index 8a33d58..47a997c 100644 --- a/pretalx_webhook/signals.py +++ b/pretalx_webhook/signals.py @@ -42,7 +42,7 @@ def on_schedule_release(sender, schedule, user, **kwargs): logger.info(f"POST JSON request to {webhook_endpoint} with payload: {payload}") response = requests.post(webhook_endpoint, - json=json.dumps(payload), + json=payload, headers=headers, )