Skip to content

Commit

Permalink
chore: log request
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored May 28, 2024
1 parent 0aae49b commit 06e678d
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 @@ -102,6 +102,9 @@ const calculate = async ({
}, { timeout })
.catch(debugError)
]).then((responses) => {
if (storeId == 51466) {
console.log('log for store', responses)
}
responses[1].data.forEach(({ coProduto, ...value }) => {
const result = responses[0].data.find((result) => result.coProduto === coProduto)
if (result) {
Expand Down

0 comments on commit 06e678d

Please sign in to comment.