3951-invoiceOut.index_downloadPdfs #1110

Merged
joan merged 7 commits from 3951-invoiceOut.index_downloadPdfs into dev 2022-11-04 10:42:35 +00:00
2 changed files with 2 additions and 44188 deletions
Showing only changes of commit 158fc56555 - Show all commits

View File

@ -58,8 +58,7 @@ module.exports = Self => {
emailBody = bufferCopy.toUpperCase().trim();
const bodyPositionOK = emailBody.match(/\bOK\b/i);
const bodyPositionIndex = (bodyPositionOK.index == 0 || bodyPositionOK.index == 122);
if (bodyPositionOK != null && bodyPositionIndex)
if (bodyPositionOK != null && (bodyPositionOK.index == 0 || bodyPositionOK.index == 122))
isEmailOk = true;
else
isEmailOk = false;

44185
package-lock.json generated

File diff suppressed because it is too large Load Diff