Skip to content

Commit

Permalink
Fix using wrong env variable for datacite api
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Feb 4, 2020
1 parent 0beeb1f commit 9b5d779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viringo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# URL used for the DataCite REST API
DATACITE_API_URL = os.getenv('DATACITE_API_URL', 'https://api.datacite.org')
# Admin credentials for the API
DATACITE_API_ADMIN_USERNAME = os.getenv('API_ADMIN_USERNAME', 'admin')
DATACITE_API_ADMIN_PASSWORD = os.getenv('API_ADMIN_PASSWORD')
DATACITE_API_ADMIN_USERNAME = os.getenv('DATACITE_API_ADMIN_PASSWORD', 'admin')
DATACITE_API_ADMIN_PASSWORD = os.getenv('DATACITE_API_ADMIN_PASSWORD')

# Name used to identifier the repository.
OAIPMH_REPOS_NAME = os.getenv('OAIPMH_REPOS_NAME', 'DataCite')
Expand Down

0 comments on commit 9b5d779

Please sign in to comment.