mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 19:28:16 +00:00
Merge pull request #2243 from akhilmhdh/fix/missing-coment-field
This commit is contained in:
@@ -542,8 +542,8 @@ export const reshapeBridgeSecret = (
|
|||||||
secretPath,
|
secretPath,
|
||||||
workspace: workspaceId,
|
workspace: workspaceId,
|
||||||
environment,
|
environment,
|
||||||
secretValue: secret.value,
|
secretValue: secret.value || "",
|
||||||
secretComment: secret.comment,
|
secretComment: secret.comment || "",
|
||||||
version: secret.version,
|
version: secret.version,
|
||||||
type: secret.type,
|
type: secret.type,
|
||||||
_id: secret.id,
|
_id: secret.id,
|
||||||
|
|||||||
@@ -522,7 +522,7 @@ export const secretV2BridgeServiceFactory = ({
|
|||||||
await expandSecretReferences(secretsGroupByKey);
|
await expandSecretReferences(secretsGroupByKey);
|
||||||
secretsGroupByPath[secretPathKey].forEach((decryptedSecret) => {
|
secretsGroupByPath[secretPathKey].forEach((decryptedSecret) => {
|
||||||
// eslint-disable-next-line no-param-reassign
|
// eslint-disable-next-line no-param-reassign
|
||||||
decryptedSecret.secretValue = secretsGroupByKey[decryptedSecret.secretKey].value;
|
decryptedSecret.secretValue = secretsGroupByKey[decryptedSecret.secretKey].value || "";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user