Fix the bug for real

This commit is contained in:
2023-01-23 11:09:27 -05:00
parent 2db63ad49c
commit 3e33f6b464

View File

@ -60,7 +60,7 @@ class WebhooksFrontend(pykka.ThreadingActor, CoreListener):
logger.info(f"No token found for Webhook URL: {webhook_url}")
if token:
headers["Authorization"] = "Token f{token}"
headers["Authorization"] = f"Token {token}"
response = requests.post(
webhook_url, json=json.dumps(post_data), headers=headers