Skip to content

Commit

Permalink
v1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual committed Nov 10, 2022
1 parent aeb4cb1 commit 062a8cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NinjaOne.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = '.\NinjaOne.psm1'

# Version number of this module.
ModuleVersion = '1.6.2'
ModuleVersion = '1.6.3'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -246,7 +246,7 @@
IconUri = 'https://pbs.twimg.com/profile_images/1452496768030187521/kIGQii5Y_400x400.jpg'

# ReleaseNotes of this module
ReleaseNotes = 'Add new commandlet to get device policy overrides.'
ReleaseNotes = 'Fix an error in Update-NinjaOneOrganisation.'

# Prerelease string of this module
# Prerelease = ''
Expand Down
2 changes: 1 addition & 1 deletion Public/Update/Update-NinjaOneOrganisation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Update-NinjaOneOrganisation {
Resource = $Resource
Body = $deviceInformation
}
$OrganisationExists = (Get-NinjaOneOrganisation -OrganisationId $organisationId).Count -gt 0
$OrganisationExists = (Get-NinjaOneOrganisations -OrganisationId $organisationId).Count -gt 0
if ($OrganisationExists) {
if ($PSCmdlet.ShouldProcess('Organisation information', 'Update')) {
$OrganisationUpdate = New-NinjaOnePATCHRequest @RequestParams
Expand Down

0 comments on commit 062a8cd

Please sign in to comment.