Update SVSTaskGate.ps1
This commit is contained in:
@@ -869,6 +869,10 @@ try {
|
||||
$ApiKey = $selectedSite.ApiKey
|
||||
$ApiSecretKey = $selectedSite.ApiSecretKey
|
||||
|
||||
# Log parsed data for debugging
|
||||
Write-LogHybrid -Message "Parsed parameters: ApiUrl='$ApiUrl', ApiKey='$ApiKey', ApiSecretKey='$ApiSecretKey'" -Level "Info"
|
||||
|
||||
|
||||
# Verify required parameters
|
||||
if (-not $ApiUrl -or -not $ApiKey -or -not $ApiSecretKey) {
|
||||
$responseString = "Error: Missing required parameters. ApiUrl='$ApiUrl', ApiKey='$ApiKey', ApiSecretKey='$ApiSecretKey'"
|
||||
|
||||
Reference in New Issue
Block a user