Skip to content

Commit

Permalink
new limit values
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Sep 18, 2018
1 parent 40cac71 commit 4b16491
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/budy/bots/omni_bot.py
Expand Up @@ -112,6 +112,7 @@ def sync_products_store(self):
if not is_valid: continue
inventory_lines = api.list_inventory_lines(
store_id = self.store,
limit = 1,
**{
"filter_string" : "",
"filters[]" : [
Expand All @@ -123,6 +124,7 @@ def sync_products_store(self):
inventory_line = inventory_lines[0]
inventory_lines = api.list_inventory_lines(
store_id = self.store,
limit = -1,
**{
"filter_string" : "",
"filters[]" : [
Expand Down

0 comments on commit 4b16491

Please sign in to comment.