diff --git a/geomagio/api/ws/app.py b/geomagio/api/ws/app.py index 58fa6d409be763fd1efcc1115ca7463ed5fc1fa7..63b8384803f8c26357235065c907cd84b4cf81fc 100644 --- a/geomagio/api/ws/app.py +++ b/geomagio/api/ws/app.py @@ -20,7 +20,7 @@ ERROR_CODE_MESSAGES = { 503: "Service Unavailable", } -metadata_endpoint = os.getenv("METADATA_ENDPOINT", False) +METADATA_ENDPOINT = os.getenv("METADATA_ENDPOINT", False) VERSION = os.getenv("GEOMAG_VERSION", "version") @@ -31,7 +31,7 @@ app.include_router(data.router) app.include_router(elements.router) app.include_router(observatories.router) -if metadata_endpoint == True: +if METADATA_ENDPOINT == True: app.include_router(metadata.router)