We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d2f5f3 commit 04a35d8Copy full SHA for 04a35d8
app/main.py
@@ -81,7 +81,7 @@ def get_latest(request: fastapi.Request):
81
}
82
83
84
-@APP.get("/locations", response_model=models.AllLocations)
+@APP.get("/locations", response_model=models.AllLocations, response_model_exclude_unset=True)
85
def get_all_locations(
86
request: fastapi.Request, country_code: str = None, timelines: int = 0
87
):
0 commit comments