Skip to content

Commit 04a35d8

Browse files
committed
exclude unset
1 parent 0d2f5f3 commit 04a35d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_latest(request: fastapi.Request):
8181
}
8282

8383

84-
@APP.get("/locations", response_model=models.AllLocations)
84+
@APP.get("/locations", response_model=models.AllLocations, response_model_exclude_unset=True)
8585
def get_all_locations(
8686
request: fastapi.Request, country_code: str = None, timelines: int = 0
8787
):

0 commit comments

Comments
 (0)