Skip to content

Commit

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

0 comments on commit ca80d2f

Please sign in to comment.