mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 03:28:58 +00:00
fix(folders): fixed algorithm missing in rollback versions and resolved env change reset folderid
This commit is contained in:
@@ -116,7 +116,7 @@ export const updateFolderById = async (req: Request, res: Response) => {
|
||||
await EESecretService.takeSecretSnapshot({
|
||||
workspaceId,
|
||||
environment,
|
||||
folderId: parentFolder.name === "root" ? undefined : parentFolder.id,
|
||||
folderId: parentFolder.id,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user