Merge branch 'dev' into 3951-invoiceOut.index_downloadPdfs
gitea/salix/pipeline/head This commit is unstable
Details
gitea/salix/pipeline/head This commit is unstable
Details
This commit is contained in:
commit
158fc56555
|
@ -58,8 +58,7 @@ module.exports = Self => {
|
||||||
emailBody = bufferCopy.toUpperCase().trim();
|
emailBody = bufferCopy.toUpperCase().trim();
|
||||||
|
|
||||||
const bodyPositionOK = emailBody.match(/\bOK\b/i);
|
const bodyPositionOK = emailBody.match(/\bOK\b/i);
|
||||||
const bodyPositionIndex = (bodyPositionOK.index == 0 || bodyPositionOK.index == 122);
|
if (bodyPositionOK != null && (bodyPositionOK.index == 0 || bodyPositionOK.index == 122))
|
||||||
if (bodyPositionOK != null && bodyPositionIndex)
|
|
||||||
isEmailOk = true;
|
isEmailOk = true;
|
||||||
else
|
else
|
||||||
isEmailOk = false;
|
isEmailOk = false;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue