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

add single observatory endpoint

parent aeea3ef5
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!32Observatories endpoint
......@@ -35,7 +35,7 @@ def get_observatories() -> Dict:
@router.get("/observatories/{id}")
async def get_observatory_by_id(id: str):
async def get_observatory_by_id(id: str) -> Dict:
for o in OBSERVATORIES:
if o.id == id:
return {
......
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