fix: refs #6404 fix return
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Pablo Natek 2024-05-20 12:17:10 +02:00
parent d51c9fc120
commit 143f9cf0bb
1 changed files with 1 additions and 3 deletions

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;
};
};