Working state, settings are fixed

This commit is contained in:
Moritz Graf
2026-01-01 23:28:58 +01:00
parent bf744b30dc
commit d369ac4232
4 changed files with 70 additions and 9 deletions
+2 -1
View File
@@ -109,7 +109,8 @@ async def get_settings_status():
return {
"garmin": {
"configured": bool(os.getenv("GARMIN_EMAIL") and os.getenv("GARMIN_PASSWORD"))
"configured": bool(os.getenv("GARMIN_EMAIL") and os.getenv("GARMIN_PASSWORD")),
"email": os.getenv("GARMIN_EMAIL")
},
"withings": {
"configured": bool(os.getenv("WITHINGS_CLIENT_ID") and os.getenv("WITHINGS_CLIENT_SECRET"))