Skip to content

Commit

Permalink
chore(calculate-shipping): avoid set a lot of logs in multiple lines …
Browse files Browse the repository at this point in the history
…if viacep didnt work
  • Loading branch information
matheusgnreis authored Mar 15, 2024
1 parent 6e7860b commit f17d275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/routes/ecom/modules/calculate-shipping.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ exports.post = async ({ appSdk }, req, res) => {
destination.state = data.uf.toUpperCase()
}
} catch (error) {
console.error(error);
console.log('didnt return address');
}
return destination
}
Expand Down

0 comments on commit f17d275

Please sign in to comment.