Skip to content

Commit

Permalink
Fixed issue with return
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jul 21, 2023
1 parent 9c7a0ca commit 016aed4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ListLicenses/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ else {
$Rows = Get-AzDataTableEntity @Table | Where-Object -Property Timestamp -GT (Get-Date).AddHours(-1)
if (!$Rows) {
Push-OutputBinding -Name Msg -Value (Get-Date).ToString()
[PSCustomObject]@{
Tenant = 'Loading data for all tenants. Please check back in 1 minute'
Licenses = 'Loading data for all tenants. Please check back in 1 minute'
$GraphRequest = [PSCustomObject]@{
Tenant = 'Loading data for all tenants. Please check back in 1 minute'
License = 'Loading data for all tenants. Please check back in 1 minute'
}
}
else {
Expand Down

0 comments on commit 016aed4

Please sign in to comment.