Skip to content

Commit 55184ae

Browse files
committed
fix dynamic rule output
1 parent 0370ba1 commit 55184ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/TenantGroups/Get-TenantGroups.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function Get-TenantGroups {
8989
Description = $Group.Description
9090
GroupType = $Group.GroupType ?? 'static'
9191
RuleLogic = $Group.RuleLogic ?? 'and'
92-
DynamicRules = $Group.DynamicRules ? ( $(@($Group.DynamicRules | ConvertFrom-Json)) ) : @()
92+
DynamicRules = $Group.DynamicRules ? @($Group.DynamicRules | ConvertFrom-Json) : @()
9393
Members = @($SortedMembers)
9494
})
9595
}

0 commit comments

Comments
 (0)