diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index cd8e58b..1d40c44 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -707,9 +707,9 @@ function GetHtmlContent { // Build payload const payload = { - ApiUrl: ApiUrl, // Replace with actual variable holding the API URL - ApiKey: ApiKey, // Replace with actual variable holding the API Key - ApiSecretKey: ApiSecretKey, // Replace with actual variable holding the API Secret Key + ApiUrl: $data.ApiURL, // Replace with actual variable holding the API URL + ApiKey: $data.ApiKey, // Replace with actual variable holding the API Key + ApiSecretKey: $data/ApiSecretKey, // Replace with actual variable holding the API Secret Key UID: UID, // Replace with actual UID value Name: Name, // Replace with actual Name value PushSiteVars: checkedValues.includes('inputVar'),