Skip to content

Commit

Permalink
fix(oonifindings): set default query parameter value
Browse files Browse the repository at this point in the history
  • Loading branch information
DecFox committed Aug 14, 2024
1 parent 2a06746 commit ce06389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ooniapi/services/oonifindings/src/oonifindings/routers/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ class OONIFindingIncidents(BaseModel):
response_model=OONIFindingIncidents
)
def list_oonifindings(
response: Response,
only_mine: Annotated[
bool,
Query(description="show only owned items")
],
response: Response,
] = False,
authorization: str = Header("authorization"),
db=Depends(get_postgresql_session),
settings=Depends(get_settings),
Expand Down

0 comments on commit ce06389

Please sign in to comment.