From a88d058d3500fe12b25522d92d09b5f937cf75b7 Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Mon, 11 Dec 2023 16:42:16 +0100 Subject: [PATCH] fix for bobbys weirdness --- .../CIPPCore/Public/Entrypoints/Invoke-AddStandardsDeploy.ps1 | 2 +- version_latest.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/CIPPCore/Public/Entrypoints/Invoke-AddStandardsDeploy.ps1 b/Modules/CIPPCore/Public/Entrypoints/Invoke-AddStandardsDeploy.ps1 index 06fd14877704..d78fc023dbb8 100644 --- a/Modules/CIPPCore/Public/Entrypoints/Invoke-AddStandardsDeploy.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/Invoke-AddStandardsDeploy.ps1 @@ -17,7 +17,7 @@ Function Invoke-AddStandardsDeploy { try { $Tenants = ($Request.body | Select-Object Select_*).psobject.properties.value $Settings = ($request.body | Select-Object -Property *, v2* -ExcludeProperty Select_*, None ) - $Settings.v2 = $true + $Settings | Add-Member -NotePropertyName 'v2.1' -NotePropertyValue $true -Force foreach ($Tenant in $tenants) { $object = [PSCustomObject]@{ diff --git a/version_latest.txt b/version_latest.txt index 2871567308a5..40d1f9dd0215 100644 --- a/version_latest.txt +++ b/version_latest.txt @@ -1 +1 @@ -4.8.1 \ No newline at end of file +4.8.2 \ No newline at end of file