Skip to content

Commit

Permalink
Merge pull request #4 from HealthITAU/dev
Browse files Browse the repository at this point in the history
Fix: TenantID = 'None' if it doesn't exist.
  • Loading branch information
Yoshify authored Oct 15, 2023
2 parents 44c52c9 + eafe56a commit 8f0458a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ListLogs/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ else {
Message = $Row.Message
User = $Row.Username
Severity = $Row.Severity
TenantID = $Row.TenantID
TenantID = if ($Row.TenantID -ne $null) {
$Row.TenantID
} else {
'None'
}
}
}

Expand Down

0 comments on commit 8f0458a

Please sign in to comment.