Skip to content

Commit d54f8f5

Browse files
committed
create a route to display the env if exists
1 parent 778db78 commit d54f8f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/src/weather/router.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ async def get_weather_data(request: schemas.WeatherDataRequest = Depends()):
1010

1111
@router.get("/test-env")
1212
async def testenv():
13-
return os.getenv("GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS")
14-
13+
return {"a": os.getenv("GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS"), "b": os.getenv("GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_EMAIL")}

0 commit comments

Comments
 (0)