Skip to content

Commit 9b14648

Browse files
allow selection of country for named locations
1 parent af2329a commit 9b14648

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Conditional/Invoke-ExecNamedLocation.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function Invoke-ExecNamedLocation {
1818
$NamedLocationId = $Request.Body.namedLocationId ?? $Request.Query.namedLocationId
1919
$Change = $Request.Body.change ?? $Request.Query.change
2020
$Content = $Request.Body.input ?? $Request.Query.input
21+
if ($content.value) { $content = $content.value }
2122

2223
try {
2324
$results = Set-CIPPNamedLocation -NamedLocationId $NamedLocationId -TenantFilter $TenantFilter -Change $Change -Content $Content -Headers $Headers

0 commit comments

Comments
 (0)