Skip to content

Commit ac5bf25

Browse files
Merge pull request KelvinTegelaar#1895 from kris6673/third-times-the-charm
Fix: fix casting error in AddDKIM standard
2 parents d98d37e + 5ce5e7c commit ac5bf25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardAddDKIM.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function Invoke-CIPPStandardAddDKIM {
111111
$NewDomains = $AllDomains | Where-Object { $DKIM.Domain -notcontains $_ }
112112
$SetDomains = $DKIM | Where-Object { $AllDomains -contains $_.Domain -and $_.Enabled -eq $false }
113113

114-
$MissingDKIM = [System.Collections.Generic.List[string]]::new()
114+
$MissingDKIM = [System.Collections.Generic.List[object]]::new()
115115
if ($null -ne $NewDomains) {
116116
$MissingDKIM.AddRange(@($NewDomains))
117117
}

0 commit comments

Comments
 (0)