requested changes
This commit is contained in:
@@ -68,7 +68,7 @@ export default class SecretsClient {
|
||||
try {
|
||||
const res = await this.#apiInstance.apiV3SecretsRawGet(
|
||||
{
|
||||
viewSecretValue: convertBool(options.viewSecretValue),
|
||||
viewSecretValue: options.viewSecretValue ? convertBool(options.viewSecretValue) : undefined,
|
||||
environment: options.environment,
|
||||
workspaceId: options.projectId,
|
||||
expandSecretReferences: convertBool(options.expandSecretReferences),
|
||||
@@ -107,7 +107,6 @@ export default class SecretsClient {
|
||||
if (!secrets.find(s => s.secretKey === importedSecret.secretKey)) {
|
||||
secrets.push({
|
||||
...importedSecret,
|
||||
secretValueHidden: false,
|
||||
secretPath: imp.secretPath,
|
||||
// These fields are not returned by the API
|
||||
updatedAt: new Date().toISOString(),
|
||||
@@ -126,7 +125,7 @@ export default class SecretsClient {
|
||||
try {
|
||||
const res = await this.#apiInstance.apiV3SecretsRawSecretNameGet(
|
||||
{
|
||||
viewSecretValue: convertBool(options.viewSecretValue),
|
||||
viewSecretValue: options.viewSecretValue ? convertBool(options.viewSecretValue) : undefined,
|
||||
environment: options.environment,
|
||||
secretName: options.secretName,
|
||||
workspaceId: options.projectId,
|
||||
|
||||
Reference in New Issue
Block a user