Update secret-folder-service.ts

This commit is contained in:
Daniel Hougaard
2025-06-24 03:33:45 +04:00
parent 305f2d79de
commit b336c0c3d6

View File

@@ -135,8 +135,7 @@ export const secretFolderServiceFactory = ({
const newFolders: TSecretFoldersInsert[] = [];
// process each segment sequentially
for (const segment of missingSegments) {
// eslint-disable-next-line no-await-in-loop
for await (const segment of missingSegments) {
const existingSegment = await folderDAL.findOne(
{
name: segment,