TASK22224: harden createappealcompletemessage parity
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user