mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 04:14:38 +00:00
fix: get secret by ID using legacy permissions
This commit is contained in:
@@ -1154,11 +1154,17 @@ export const secretV2BridgeServiceFactory = ({
|
||||
? secretManagerDecryptor({ cipherTextBlob: secret.encryptedComment }).toString()
|
||||
: "";
|
||||
|
||||
return reshapeBridgeSecret(secret.projectId, folderWithPath.environmentSlug, folderWithPath.path, {
|
||||
...secret,
|
||||
value: secretValue,
|
||||
comment: secretComment
|
||||
});
|
||||
return reshapeBridgeSecret(
|
||||
secret.projectId,
|
||||
folderWithPath.environmentSlug,
|
||||
folderWithPath.path,
|
||||
{
|
||||
...secret,
|
||||
value: secretValue,
|
||||
comment: secretComment
|
||||
},
|
||||
false
|
||||
);
|
||||
};
|
||||
|
||||
const getSecretByName = async ({
|
||||
|
||||
Reference in New Issue
Block a user