Fix issue with missing token on secrets set command CLI

This commit is contained in:
carlosmonastyrski
2025-04-01 23:10:02 -03:00
parent ebcf4761b6
commit 85e9952a4c

View File

@@ -694,7 +694,7 @@ func SetRawSecrets(secretArgs []string, secretType string, environmentName strin
if err != nil {
return nil, fmt.Errorf("unable to get client with custom headers [err=%v]", err)
}
httpClient.SetAuthToken(tokenDetails.Token)
httpClient.SetHeader("Accept", "application/json")
// pull current secrets