Skip to content

Commit

Permalink
Change names on environ
Browse files Browse the repository at this point in the history
  • Loading branch information
harljo committed Dec 30, 2023
1 parent eb26f68 commit d838647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Retrieve secrets from GitHub
access_token = os.environ['ACCESS_TOKEN']
wordnik_api_key = os.environ['WORDNIK_API_KEY']
wordnik_api_key = os.environ['API_KEY']

# Wordnik API endpoint for the word of the day
wordnik_url = f'http://api.wordnik.com/v4/words.json/wordOfTheDay?api_key={wordnik_api_key}'
Expand Down

0 comments on commit d838647

Please sign in to comment.