Skip to content

Commit 8f6543e

Browse files
test results
1 parent 52091ef commit 8f6543e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Modules/CIPPCore/Public/Get-CIPPTestResults.ps1

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ function Get-CIPPTestResults {
2828
foreach ($CountRow in $CountData) {
2929
$TypeName = $CountRow.RowKey -replace '-Count$', ''
3030
$TenantCounts[$TypeName] = $CountRow.DataCount
31-
32-
if ($CountRow.Timestamp) {
33-
if (-not $LatestTimestamp -or $CountRow.Timestamp -gt $LatestTimestamp) {
34-
$LatestTimestamp = $CountRow.Timestamp
35-
}
36-
}
31+
$LatestTimestamp = $CountRow.Timestamp
3732
}
3833

3934
return [PSCustomObject]@{

0 commit comments

Comments
 (0)