mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-25 14:05:03 +00:00
patch check for version
This commit is contained in:
@ -549,7 +549,7 @@ export const secretServiceFactory = ({
|
||||
secretType = SecretType.Shared;
|
||||
}
|
||||
|
||||
const secret = await (typeof version === undefined
|
||||
const secret = await (version === undefined
|
||||
? secretDAL.findOne({
|
||||
folderId,
|
||||
type: secretType,
|
||||
|
Reference in New Issue
Block a user