API - minor changes

This commit is contained in:
Sam 2022-12-28 14:41:33 +01:00
parent 5c97b04837
commit c14b014372
2 changed files with 6 additions and 6 deletions

View File

@ -49,7 +49,7 @@ def get_application_config() -> Union[Dict, HttpResponse]:
"max_zip_file_size": 10485760,
"map_attribution": "&copy; <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors",
"version": "0.7.10",
"weather_provider": "darksky"
"weather_provider": null
},
"status": "success"
}
@ -102,7 +102,7 @@ def update_application_config(auth_user: User) -> Union[Dict, HttpResponse]:
"max_zip_file_size": 10485760,
"map_attribution": "&copy; <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors",
"version": "0.7.10",
"weather_provider": "darksky"
"weather_provider": null
},
"status": "success"
}

View File

@ -16,10 +16,10 @@ class BaseWeather(ABC):
# Expected dict:
# {
# "humidity": 0.69,
# "icon": "partly-cloudy-day",
# "temperature": 12.26,
# "wind": 3.49,
# "windBearing": 315
# "icon": "partly-cloudy-day",
# "temperature": 12.26,
# "wind": 3.49,
# "windBearing": 315
# }
#
# FitTrackee expects the following units: