Merged PR 2264: updatd createinvolvent call

updatd createinvolvent call

Related work items: #22441
This commit is contained in:
Robert Bond
2026-04-22 08:15:59 +00:00
parent f34ac3ba11
commit 20782db916
3 changed files with 34 additions and 35 deletions
+3 -6
View File
@@ -45,16 +45,13 @@ export default async function ApiProxy(req, res) {
const crmUrl = "https://" + process.env.CRMURL;
const crmVersion = process.env.CRMURL_VERSION;
// appeallant
// interestedParty
// agent
var typeofinvolvement =
{
"appellant": 846040001,
"interestedparty": 846040061,
"agent": 846040000
}[req.body.typeofinvolvement] || 846040061;
"agent": 846040000,
"LPA": 846040012
}[req.body.involvement] || 846040061;
const data = {
"pinswg_email": userInfo.emailaddress1,