Skip to content

Commit

Permalink
Fix incorrect body variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual committed Nov 10, 2022
1 parent f051e38 commit 9a22474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Public/Update/Update-NinjaOneOrganisation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9a22474

Please sign in to comment.