Skip to content

Commit

Permalink
chore: set sku log instead of body product
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Jul 26, 2024
1 parent ca80d2f commit 4139be1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions functions/lib/integration/export-product.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ module.exports = ({ appSdk, storeId }, blingToken, blingStore, blingDeposit, que
if (blingProduct) {
const data = { produto: blingProduct }
let endpoint = originalBlingProduct ? `/produto/${blingProductCode}` : '/produto'
if (storeId === 45114) {
console.log('Produto export #45114', JSON.stringify(data))
endpoint = '/produto'
}
console.log('Produto export', storeId, product.sku)
return bling.post(endpoint, data)
}
}
Expand Down

0 comments on commit 4139be1

Please sign in to comment.