Skip to content

Commit

Permalink
chore: get log from body calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Jan 10, 2024
1 parent a865e39 commit ea393a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions/lib/correios-calculate.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ const calculate = async ({
}
return _params
})
if (storeId == 4566) {
console.log('Calc body', JSON.stringify(params))
}
return Promise.all([
correios.post('/preco/v1/nacional', {
idLote: '1',
Expand Down

0 comments on commit ea393a0

Please sign in to comment.