mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 00:27:35 +00:00
feat: added snapshot for batch
This commit is contained in:
@@ -207,6 +207,8 @@ export const secretFolderServiceFactory = ({
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
await Promise.all(result.map(async (res) => snapshotService.performSnapshot(res.newFolder.parentId as string)));
|
||||||
|
|
||||||
return {
|
return {
|
||||||
newFolders: result.map((res) => res.newFolder),
|
newFolders: result.map((res) => res.newFolder),
|
||||||
oldFolders: result.map((res) => res.oldFolder)
|
oldFolders: result.map((res) => res.oldFolder)
|
||||||
|
|||||||
Reference in New Issue
Block a user