4 files updated
This commit is contained in:
parent
06ff2bdecd
commit
76a7ac7695
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -84,8 +84,8 @@ if (inargs['submit'] && inargs['mobile'] && !inargs['mobile'].isEmpty()) {
|
|||
return
|
||||
}
|
||||
String result
|
||||
|
||||
def patchBdy = "{\"contacts\":{\"mobile\":\"${inargs['mobile']?.trim()}\"},\"modificationComment\":\"added mobile number from user during request ${requestId}\"}"
|
||||
// mobile is also stored without spaces
|
||||
def patchBdy = "{\"contacts\":{\"mobile\":\"${inargs['mobile'].replaceAll('\\s', '')}\"},\"modificationComment\":\"added mobile number from user during request ${requestId}\"}"
|
||||
try {
|
||||
result = idmRestClient.patch(endPoint, patchBdy)
|
||||
} catch(Exception e) {
|
||||
|
|
Loading…
Reference in New Issue