diff --git a/Public/Update/Update-NinjaOneOrganisation.ps1 b/Public/Update/Update-NinjaOneOrganisation.ps1 index e418858..3c58ce5 100644 --- a/Public/Update/Update-NinjaOneOrganisation.ps1 +++ b/Public/Update/Update-NinjaOneOrganisation.ps1 @@ -25,7 +25,7 @@ function Update-NinjaOneOrganisation { $Resource = "v2/organization/$organisationId" $RequestParams = @{ Resource = $Resource - Body = $deviceInformation + Body = $organisationInformation } $OrganisationExists = (Get-NinjaOneOrganisations -OrganisationId $organisationId).Count -gt 0 if ($OrganisationExists) {