API - minor changes
This commit is contained in:
parent
5c97b04837
commit
c14b014372
@ -49,7 +49,7 @@ def get_application_config() -> Union[Dict, HttpResponse]:
|
|||||||
"max_zip_file_size": 10485760,
|
"max_zip_file_size": 10485760,
|
||||||
"map_attribution": "© <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors",
|
"map_attribution": "© <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors",
|
||||||
"version": "0.7.10",
|
"version": "0.7.10",
|
||||||
"weather_provider": "darksky"
|
"weather_provider": null
|
||||||
},
|
},
|
||||||
"status": "success"
|
"status": "success"
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ def update_application_config(auth_user: User) -> Union[Dict, HttpResponse]:
|
|||||||
"max_zip_file_size": 10485760,
|
"max_zip_file_size": 10485760,
|
||||||
"map_attribution": "© <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors",
|
"map_attribution": "© <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors",
|
||||||
"version": "0.7.10",
|
"version": "0.7.10",
|
||||||
"weather_provider": "darksky"
|
"weather_provider": null
|
||||||
},
|
},
|
||||||
"status": "success"
|
"status": "success"
|
||||||
}
|
}
|
||||||
|
@ -16,10 +16,10 @@ class BaseWeather(ABC):
|
|||||||
# Expected dict:
|
# Expected dict:
|
||||||
# {
|
# {
|
||||||
# "humidity": 0.69,
|
# "humidity": 0.69,
|
||||||
# "icon": "partly-cloudy-day",
|
# "icon": "partly-cloudy-day",
|
||||||
# "temperature": 12.26,
|
# "temperature": 12.26,
|
||||||
# "wind": 3.49,
|
# "wind": 3.49,
|
||||||
# "windBearing": 315
|
# "windBearing": 315
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# FitTrackee expects the following units:
|
# FitTrackee expects the following units:
|
||||||
|
Loading…
Reference in New Issue
Block a user