Skip to content

Commit

Permalink
environ fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
harljo committed Dec 30, 2023
1 parent 5c8ed3a commit eb26f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
mastodon_instance_url = 'https://botsin.space'

# Retrieve secrets from GitHub
access_token = os.environ('ACCESS_TOKEN')
wordnik_api_key = os.environ('WORDNIK_API_KEY')
access_token = os.environ['ACCESS_TOKEN']
wordnik_api_key = os.environ['WORDNIK_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 eb26f68

Please sign in to comment.