🐛 fix(service.py): remove redundant assignment to params variable to fix incorrect behavior

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-10-20 07:54:19 -03:00
commit 5667dd4540

View file

@ -86,7 +86,6 @@ class StoreService(Service):
fields: Optional[List[str]] = None,
) -> List[ComponentResponse]:
params = {"page": page, "limit": limit}
params = {}
# ?aggregate[count]=likes
params["fields"] = (
",".join(fields)