Skip to content

Commit 2de350f

Browse files
committed
Removed unnecessary logs
1 parent 346995f commit 2de350f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

backend/src/components/canadaPost.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ async function findAddresses(req, res) {
4646
'Content-Type': 'application/json',
4747
};
4848
const response = await axios.get(url, headers);
49-
console.log('response.data' + response.data);
5049
if (Array.isArray(response.data) && response.data[0]?.Error) {
5150
const errorObj = response.data[0];
52-
console.log('errorObj' + errorObj);
5351
log.error('Canada Post address object contains an error', {
5452
searchTerm: req?.query?.searchTerm,
5553
errorCode: errorObj.Error,

0 commit comments

Comments
 (0)