diff --git a/NinjaOne.psd1 b/NinjaOne.psd1 index fb0c1c3..049d690 100644 --- a/NinjaOne.psd1 +++ b/NinjaOne.psd1 @@ -12,7 +12,7 @@ RootModule = '.\NinjaOne.psm1' # Version number of this module. - ModuleVersion = '1.6.3' + ModuleVersion = '1.6.4' # Supported PSEditions # CompatiblePSEditions = @() @@ -246,7 +246,7 @@ IconUri = 'https://pbs.twimg.com/profile_images/1452496768030187521/kIGQii5Y_400x400.jpg' # ReleaseNotes of this module - ReleaseNotes = 'Fix an error in Update-NinjaOneOrganisation.' + ReleaseNotes = 'Fix incorrect parameter type on Update-NinjaOneOrganisation.' # Prerelease string of this module # Prerelease = '' diff --git a/Public/Update/Update-NinjaOneOrganisation.ps1 b/Public/Update/Update-NinjaOneOrganisation.ps1 index 789ea07..e418858 100644 --- a/Public/Update/Update-NinjaOneOrganisation.ps1 +++ b/Public/Update/Update-NinjaOneOrganisation.ps1 @@ -16,7 +16,7 @@ function Update-NinjaOneOrganisation { Param( # The organisation to set the information for. [Parameter(Mandatory = $true)] - [string[]]$organisationId, + [int]$organisationId, # The organisation information body object. [Parameter(Mandatory = $true)] [object]$organisationInformation