🐛 fix(service.py): simplify the filter condition for retrieving public components
This commit is contained in:
parent
bb05c6cd46
commit
b006f11a3d
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ class StoreService(Service):
|
|||
)
|
||||
else:
|
||||
params["filter"] = params["filter"] = json.dumps(
|
||||
{"_or": [{"status": {"_eq": "public"}}, {"status": {"_eq": "Public"}}]}
|
||||
{"status": {"_in": ["public", "Public"]}}
|
||||
)
|
||||
|
||||
results = self._get(self.components_url, api_key, params)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue