Skip to content

Commit

Permalink
chore: get more log
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis committed Oct 27, 2023
1 parent 720be85 commit 7832622
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/routes/ecom/modules/calculate-shipping.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ exports.post = ({ appSdk }, req, res) => {
})
.then(result => {
const { data, status } = result
console.log('Resultado', JSON.stringify(data), status)
if (data && status === 200) {
// success response
// parse to E-Com Plus shipping line object
Expand Down Expand Up @@ -238,6 +237,8 @@ exports.post = ({ appSdk }, req, res) => {
}
}


console.log('response now', JSON.stringify(response))
res.send(response)
} else {
// console.log(data)
Expand Down

0 comments on commit 7832622

Please sign in to comment.