Skip to content

Commit

Permalink
fix(update-stock): update offset
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Jul 18, 2024
1 parent 25582a5 commit fbfb962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/lib/cron-events-horus.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const productsStocksEvents = async (horus, storeId, opts) => {
})
}

offset += limit
offset = hasRepeat ? offset + limit : 0
// }
console.log(`>>Cron STOCKS #${storeId} Updates: ${total}`)

Expand Down

0 comments on commit fbfb962

Please sign in to comment.