🔄 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:
Gabriel Luiz Freitas Almeida 2023-11-08 15:34:58 -03:00
commit 086681312e

View file

@ -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),