🔥 refactor(service.py): remove unnecessary code that pops "page" and "limit" parameters from params dictionary
The code was removing "page" and "limit" parameters from the params dictionary, but these parameters were not being used afterwards. Removing this unnecessary code improves code readability and maintainability.
This commit is contained in:
parent
127721e986
commit
5ebd298463
1 changed files with 0 additions and 3 deletions
|
|
@ -176,9 +176,6 @@ class StoreService(Service):
|
|||
f"{self.base_url}/users/me", api_key, params={"fields": "id"}
|
||||
)
|
||||
params["filter"] = json.dumps({"user_created": {"_eq": user_data["id"]}})
|
||||
# Get the
|
||||
params.pop("page", None)
|
||||
params.pop("limit", None)
|
||||
|
||||
params["fields"] = ["id"]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue