mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 15:27:46 +00:00
fix: ts issue
This commit is contained in:
@@ -519,7 +519,7 @@ export const secretFolderServiceFactory = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Find the target folder in the folderPaths to get its full details
|
// Find the target folder in the folderPaths to get its full details
|
||||||
const targetFolderWithPath = folderPaths.find((f) => f.id === targetFolder.id);
|
const targetFolderWithPath = folderPaths.find((f) => f.id === targetFolder!.id);
|
||||||
if (!targetFolderWithPath) {
|
if (!targetFolderWithPath) {
|
||||||
throw new NotFoundError({ message: `Target folder path not found` });
|
throw new NotFoundError({ message: `Target folder path not found` });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user