Feat: Added project slug support

This commit is contained in:
Daniel Hougaard
2024-03-21 17:07:31 +01:00
parent f71459ede0
commit 11edefa66f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ func CallGetDecryptedSecretsV3(httpClient *resty.Client, request GetDecryptedSec
SetResult(&decryptedSecretsResponse).
SetHeader("User-Agent", USER_AGENT_NAME).
SetQueryParam("secretPath", request.SecretPath).
SetQueryParam("workspaceId", request.ProjectID).
SetQueryParam("workspaceSlug", request.ProjectSlug).
SetQueryParam("environment", request.Environment).
Get(fmt.Sprintf("%v/v3/secrets/raw", API_HOST_URL))