🔄 refactor(store.py): change the type of the 'search' query parameter from List[str] to str for consistency and clarity
This commit is contained in:
parent
5affcdf987
commit
086681312e
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ def create_component(
|
|||
|
||||
@router.get("/components/", response_model=ListComponentResponseModel)
|
||||
def get_components(
|
||||
search: Optional[List[str]] = Query(None),
|
||||
search: Optional[str] = Query(None),
|
||||
status: Optional[str] = Query(None),
|
||||
is_component: Optional[bool] = Query(None),
|
||||
tags: Optional[List[str]] = Query(None),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue