Skip to content

Commit

Permalink
refactor: variable order improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
NFSS10 committed Dec 2, 2021
1 parent c1cca97 commit 1f8cbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shopify/order.py
Expand Up @@ -51,8 +51,8 @@ def list_orders_a(self, all = True, orders_count = 50, limit = 50, **kwargs):
# allowed value (250) and set "order_count" with the total number
# of existing orders
if all:
limit = 250
orders_count = self.count_orders()
limit = 250

orders = self._fetch_many(
url,
Expand Down

0 comments on commit 1f8cbba

Please sign in to comment.