Skip to content

Commit

Permalink
fix(export-customer): add debug if method PUT
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Aug 13, 2024
1 parent c649429 commit 8e45ca0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion functions/lib/integration/exports/customers-to-horus.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ module.exports = async ({ appSdk, storeId, auth }, customerId, opts = {}) => {
}
return customerId
}
return null
if (method === 'PUT') {
console.log(`debug ${JSON.stringify(data)}`)
}

return method === 'PUT' ? customerId : null
})
.catch(err => {
console.error(err)
Expand Down

0 comments on commit 8e45ca0

Please sign in to comment.