diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index 5cddd94..d4205fe 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -685,6 +685,7 @@ function GetHtmlContent { const UID = dropdown.options[dropdown.selectedIndex].value; const Name = dropdown.options[dropdown.selectedIndex].text; + const setSVSPowerplan = document.querySelector('input[name="setSVSPowerplan"]'); const installSVSMSPModule = document.querySelector('input[name="installSVSMSPModule"]'); const installDattoRMM = document.querySelector('input[name="installDattoRMM"]'); const installCyberQP = document.querySelector('input[name="installCyberQP"]'); @@ -724,7 +725,7 @@ function GetHtmlContent { } if (installSVSMSPModule.checked) { - fetch('/installsvsmspmodule', { method: 'GET' }); + fetch('/installSVSMSPModule', { method: 'GET' }); appendLog("Installing CyberQP", "cyan"); }