Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed Dec 10, 2024
1 parent b8d07e1 commit 3226d17
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions itt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7412,8 +7412,6 @@ function Startup {
# Update Firebase with the new run count
$updateData = @{ Runs = $Runs } | ConvertTo-Json
Invoke-RestMethod -Uri $firebaseUrlWithKey -Method Put -Body $updateData -Headers @{ "Content-Type" = "application/json" } -ErrorAction SilentlyContinue


# Count the number of keys under the root AFTER the update
$response = Invoke-RestMethod -Uri $firebaseUrlRoot -Method Get -ErrorAction SilentlyContinue
$totalKeys = ($response | Get-Member -MemberType NoteProperty | Measure-Object).Count
Expand Down
2 changes: 0 additions & 2 deletions scripts/Core/Startup-Log.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ function Startup {
# Update Firebase with the new run count
$updateData = @{ Runs = $Runs } | ConvertTo-Json
Invoke-RestMethod -Uri $firebaseUrlWithKey -Method Put -Body $updateData -Headers @{ "Content-Type" = "application/json" } -ErrorAction SilentlyContinue


# Count the number of keys under the root AFTER the update
$response = Invoke-RestMethod -Uri $firebaseUrlRoot -Method Get -ErrorAction SilentlyContinue
$totalKeys = ($response | Get-Member -MemberType NoteProperty | Measure-Object).Count
Expand Down

0 comments on commit 3226d17

Please sign in to comment.