Skip to content

Commit ff32e75

Browse files
committed
fix(cron-events): add debug
1 parent e953faf commit ff32e75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/lib/cron-events-horus.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ const productsStocksEvents = async (horus, storeId, opts) => {
113113
// const init = Date.now()
114114
const promisesSendTopics = []
115115
while (hasRepeat) {
116+
console.log('>>offset', offset)
116117
// create Object Horus to request api Horus
117118
const endpoint = `/Estoque${query}&offset=${offset}&limit=${limit}`
118119
const products = await requestHorus(horus, endpoint, 'get', true)

0 commit comments

Comments
 (0)