Skip to content
Snippets Groups Projects
Commit 95bd17d3 authored by Rivers, Travis (Contractor) Creighton's avatar Rivers, Travis (Contractor) Creighton
Browse files

upper case metadata endpoint variable

parent 07965f6c
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!22Add readonly, public metadata service
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment