Update secret-service.ts

This commit is contained in:
Daniel Hougaard
2024-03-30 08:40:43 +01:00
parent 4f05e4ce93
commit 4c496d5e3d

View File

@@ -472,6 +472,8 @@ export const secretServiceFactory = ({
});
if (!deepPaths) return { secrets: [], imports: [] };
paths = deepPaths.map(({ folderId, path: p }) => ({ folderId, path: p }));
} else {
ForbiddenError.from(permission).throwUnlessCan(
ProjectPermissionActions.Read,