File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 RootModule = ' .\NinjaOne.psm1'
1313
1414 # Version number of this module.
15- ModuleVersion = ' 1.11.1 '
15+ ModuleVersion = ' 1.11.2 '
1616
1717 # Supported PSEditions
1818 # CompatiblePSEditions = @()
268268 IconUri = ' https://pbs.twimg.com/profile_images/1452496768030187521/kIGQii5Y_400x400.jpg'
269269
270270 # ReleaseNotes of this module
271- ReleaseNotes = ' Add organizationId as an alias to all organisationId parameters .'
271+ ReleaseNotes = ' Fix regression in the set device custom fields cmdlet .'
272272
273273 # Prerelease string of this module
274274 # Prerelease = 'Beta1'
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function Set-NinjaOneDeviceCustomFields {
2727 $Resource = " v2/device/$deviceId /custom-fields"
2828 $RequestParams = @ {
2929 Resource = $Resource
30- Body = $customFields
30+ Body = $deviceCustomFields
3131 }
3232 if ($PSCmdlet.ShouldProcess (' Custom Fields' , ' Set' )) {
3333 $CustomFieldUpdate = New-NinjaOnePATCHRequest @RequestParams
You can’t perform that action at this time.
0 commit comments