Skip to content

Commit

Permalink
fixes version get
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Sep 25, 2023
1 parent ee3fb18 commit 72bf9b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GetCippAlerts/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $APIVersion = Get-Content "version_latest.txt" | Out-String
$CIPPVersion = $request.query.localversion

$RemoteAPIVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP-API/master/version_latest.txt"
$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/version_latest.txt"
$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/public/version_latest.txt"

$version = [PSCustomObject]@{
LocalCIPPVersion = $CIPPVersion
Expand Down
2 changes: 1 addition & 1 deletion GetVersion/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $APIVersion = Get-Content "version_latest.txt" | Out-String
$CIPPVersion = $request.query.localversion

$RemoteAPIVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP-API/master/version_latest.txt"
$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/version_latest.txt"
$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/public/version_latest.txt"

$version = [PSCustomObject]@{
LocalCIPPVersion = $CIPPVersion
Expand Down

0 comments on commit 72bf9b8

Please sign in to comment.