fix: implement backend configuration system and ORCID API client integration
This commit is contained in:
@@ -20,7 +20,7 @@ ORCID_ENDPOINTS = {
|
||||
|
||||
|
||||
def _orcid_endpoints() -> dict[str, str]:
|
||||
key = "production" if settings.is_production else "sandbox"
|
||||
key = settings.orcid_environment # "sandbox" | "production"
|
||||
return ORCID_ENDPOINTS[key]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user