fix: refs #6404 fix cancel shipment #2486

Merged
pablone merged 3 commits from 6404-mrwIntegrationWebService into dev 2024-05-20 12:02:49 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 143f9cf0bb - Show all commits

View File

@ -39,8 +39,6 @@ module.exports = Self => {
const xmlString = response.data;
const parser = new DOMParser();
const xmlDoc = parser.parseFromString(xmlString, 'text/xml');
const resultElement = xmlDoc.getElementsByTagName('Mensaje')[0].textContent;
return resultElement;
return xmlDoc.getElementsByTagName('Mensaje')[0].textContent;
};
};