Update secrets.ts
This commit is contained in:
@@ -68,7 +68,7 @@ export default class SecretsClient {
|
|||||||
try {
|
try {
|
||||||
const res = await this.#apiInstance.apiV3SecretsRawGet(
|
const res = await this.#apiInstance.apiV3SecretsRawGet(
|
||||||
{
|
{
|
||||||
viewSecretValue: options.viewSecretValue ? convertBool(options.viewSecretValue) : undefined,
|
viewSecretValue: convertBool(options.viewSecretValue ?? true),
|
||||||
environment: options.environment,
|
environment: options.environment,
|
||||||
workspaceId: options.projectId,
|
workspaceId: options.projectId,
|
||||||
expandSecretReferences: convertBool(options.expandSecretReferences),
|
expandSecretReferences: convertBool(options.expandSecretReferences),
|
||||||
@@ -125,7 +125,7 @@ export default class SecretsClient {
|
|||||||
try {
|
try {
|
||||||
const res = await this.#apiInstance.apiV3SecretsRawSecretNameGet(
|
const res = await this.#apiInstance.apiV3SecretsRawSecretNameGet(
|
||||||
{
|
{
|
||||||
viewSecretValue: options.viewSecretValue ? convertBool(options.viewSecretValue) : undefined,
|
viewSecretValue: convertBool(options.viewSecretValue ?? true),
|
||||||
environment: options.environment,
|
environment: options.environment,
|
||||||
secretName: options.secretName,
|
secretName: options.secretName,
|
||||||
workspaceId: options.projectId,
|
workspaceId: options.projectId,
|
||||||
|
|||||||
Reference in New Issue
Block a user