Fix the bug for real
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user