diff --git a/dog_facts.py b/dog_facts.py index d423faa..74bcbaf 100644 --- a/dog_facts.py +++ b/dog_facts.py @@ -18,10 +18,10 @@ def notify(priority, message): post_endpoint = f"{bots_endpoint}/api/v1/statuses" api_url = 'https://dogapi.dog/api/v2/facts' headers = { - "Authorization": f"Bearer {botsy_token}" + "Authorization": f"Bearer {dogfacts_token}" } -print(botsy_token) +print(botsy_token, bots_endpoint, post_endpoint) print(api_url) print(po_user_token, po_test_token) response = get(api_url)