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
|
return
|
||||||
}
|
}
|
||||||
String result
|
String result
|
||||||
|
// mobile is also stored without spaces
|
||||||
def patchBdy = "{\"contacts\":{\"mobile\":\"${inargs['mobile']?.trim()}\"},\"modificationComment\":\"added mobile number from user during request ${requestId}\"}"
|
def patchBdy = "{\"contacts\":{\"mobile\":\"${inargs['mobile'].replaceAll('\\s', '')}\"},\"modificationComment\":\"added mobile number from user during request ${requestId}\"}"
|
||||||
try {
|
try {
|
||||||
result = idmRestClient.patch(endPoint, patchBdy)
|
result = idmRestClient.patch(endPoint, patchBdy)
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue