Browse Source

Fix un-interpolated token

Colin Powell 2 years ago
parent
commit
a140140322
1 changed files with 1 additions and 1 deletions
  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 {token}"
+                headers["Authorization"] = "Token f{token}"
 
             response = requests.post(
                 webhook_url, json=json.dumps(post_data), headers=headers