TASK22224: harden createappealcompletemessage parity

This commit is contained in:
2026-03-24 05:49:58 +00:00
parent cc4fb36439
commit 9b0365ffbd
3 changed files with 139 additions and 9 deletions
@@ -115,15 +115,19 @@ ApiProxy.get(async (req, res) => {
contactId = contactId.match(/\(([^)]+)\)/);
if (typeofinvolvement != 846040000) {
updateAccount(
contactId[1],
{
pinswg_typeofinvolvement: 846040001
},
true
).catch((error) => {
consoleLogger(error);
});
void (async () => {
try {
await updateAccount(
contactId[1],
{
pinswg_typeofinvolvement: 846040001
},
true
);
} catch (error) {
consoleLogger(error);
}
})();
}
await createCaseCompleteMessage(containerName, tempCaseRef);