Przeglądaj źródła

Fix the bug for real

Colin Powell 2 lat temu
rodzic
commit
3e33f6b464
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      mopidy_webhooks/frontend.py

+ 1 - 1
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