Skip to content

Commit

Permalink
chore: replace form data to json
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Aug 6, 2024
1 parent 009863a commit d0c9c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/lib/buzzlead/update-conversions.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = async ({ appSdk, storeId, auth }, order, appData) => {
};

try {
const response = await axios.post(url, form, { headers });
const response = await axios.post(url, data, { headers });
if (response.status === 201) {
const responseData = response.data;
console.log('Request successful:', responseData);
Expand Down

0 comments on commit d0c9c42

Please sign in to comment.