Skip to content

Commit

Permalink
chore: update webhook ecom
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Jan 18, 2024
1 parent d6044fa commit 2917ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/routes/ecom/webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const removeFromQueue = (resourceId) => {
exports.post = async ({ appSdk, admin }, req, res) => {
// receiving notification from Store API
const { storeId } = req

console.log('acionando webhook', storeId)
if (req.get('host') && !baseUri.includes(req.get('host'))) {
console.log('>>> Proxy to function v2')
const axios = require('axios')
Expand Down

0 comments on commit 2917ee6

Please sign in to comment.