Skip to content

Commit

Permalink
json payload
Browse files Browse the repository at this point in the history
  • Loading branch information
wslyvh committed Aug 26, 2024
1 parent 1ca1392 commit 1b83a57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pretalx_webhook/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.1"
__version__ = "0.1.3"
2 changes: 1 addition & 1 deletion pretalx_webhook/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 1b83a57

Please sign in to comment.