We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731e240 commit 6703fb4Copy full SHA for 6703fb4
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Invoke-ListMessageTrace.ps1
@@ -49,10 +49,10 @@ Function Invoke-ListMessageTrace {
49
}
50
51
52
- if (![string]::IsNullOrEmpty($Request.Body.recipient)) {
+ if ($Request.Body.recipient) {
53
$Searchparams.Add('RecipientAddress', $($Request.Body.recipient.value ?? $Request.Body.recipient))
54
55
- if (![string]::IsNullOrEmpty($Request.Body.sender)) {
+ if ($Request.Body.sender) {
56
$Searchparams.Add('SenderAddress', $($Request.Body.sender.value ?? $Request.Body.sender))
57
58
0 commit comments