Tools4everBV / HelloID-Conn-Prov-Source-Visma.net-HRM-API

HelloID-Conn-Prov-Source-Visma.net-HRM-API
0 stars 0 forks source link

Contract user defined fields are set on person instead of contract #9

Closed Rick-Jongbloed closed 1 year ago

Rick-Jongbloed commented 1 year ago

https://github.com/Tools4everBV/HelloID-Conn-Prov-Source-Visma.net-HRM-API/blob/de51c1ee976451df72ed1e345e01f89c472523d5/persons.ps1#L550C24-L550C27

should be

Orig $_ | Add-Member -MemberType NoteProperty -Name "contractUserDefinedFields" -Value $contractUserDefinedFields -Force

$contract | Add-Member -MemberType NoteProperty -Name "contractUserDefinedFields" -Value $contractUserDefinedFields -Force