Skip to content

Commit d4532cf

Browse files
push data fix
1 parent c9af0ef commit d4532cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/BPA/Push-BPACollectData.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ function Push-BPACollectData {
1919
}
2020
}
2121
$Table = Get-CippTable -tablename 'cachebpav2'
22-
$Rerun = Test-CIPPRerun -Type 'BPA' -Tenant $TenantName.defaultDomainName -API $Item.Template
22+
23+
$Rerun = Test-CIPPRerun -Type 'BPA' -Tenant $Item.Tenant -API $Item.Template
2324
if ($Rerun) {
2425
Write-Host 'Detected rerun for BPA. Exiting cleanly'
2526
exit 0

0 commit comments

Comments
 (0)