From 3e33f6b464fabfb40cae6c3fba85dc9dab713006 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 23 Jan 2023 11:09:27 -0500 Subject: [PATCH] Fix the bug for real --- mopidy_webhooks/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy_webhooks/frontend.py b/mopidy_webhooks/frontend.py index 14342d2..d1ca188 100644 --- a/mopidy_webhooks/frontend.py +++ b/mopidy_webhooks/frontend.py @@ -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