Skip to content

Commit 8614608

Browse files
chore: get log from importation
1 parent 98bebc5 commit 8614608

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

functions/lib/integration/import-product.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ module.exports = ({ appSdk, storeId, auth }, tinyToken, queueEntry, appData, can
140140
if (produto.saldoReservado) {
141141
quantity -= Number(produto.saldoReservado)
142142
}
143-
143+
if (storeId == 3967) {
144+
console.log('has product', hasProduct, 'hasTiny:', JSON.stringify(tinyProduct), 'type product:', tipo)
145+
}
144146
if (product && (!appData.update_product || variationId)) {
145147
if (!isNaN(quantity)) {
146148
if (quantity < 0) {

0 commit comments

Comments
 (0)