Skip to content

Commit 96db7c0

Browse files
committed
Fix regression in Set-NinjaOneDeviceCustomFields cmdlet. Version 1.11.2.
1 parent bc91cd2 commit 96db7c0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

NinjaOne.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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 = @()
@@ -268,7 +268,7 @@
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'

Public/Set/Set-NinjaOneDeviceCustomFields.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)