From 72bf9b869ad9797499dd6b2f6332aa7b1ce6de56 Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Mon, 25 Sep 2023 17:23:22 +0200 Subject: [PATCH] fixes version get --- GetCippAlerts/run.ps1 | 2 +- GetVersion/run.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GetCippAlerts/run.ps1 b/GetCippAlerts/run.ps1 index 554b25300eb2..af791ee99012 100644 --- a/GetCippAlerts/run.ps1 +++ b/GetCippAlerts/run.ps1 @@ -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 diff --git a/GetVersion/run.ps1 b/GetVersion/run.ps1 index cf7a33c72ae0..d0e092e20571 100644 --- a/GetVersion/run.ps1 +++ b/GetVersion/run.ps1 @@ -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