Skip to content

Commit

Permalink
Merge pull request linkwarden#748 from linkwarden/hotfix
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
daniel31x13 authored Aug 29, 2024
2 parents 5f4e0d4 + e7c7fed commit 1461caf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export default async function deleteCollection(
},
});

await removeFolder({ filePath: `archives/${collectionId}` });
await removeFolder({ filePath: `archives/preview/${collectionId}` });
removeFolder({ filePath: `archives/${collectionId}` });
removeFolder({ filePath: `archives/preview/${collectionId}` });

await removeFromOrders(userId, collectionId);

Expand Down Expand Up @@ -100,8 +100,8 @@ async function deleteSubCollections(collectionId: number) {
where: { id: subCollection.id },
});

await removeFolder({ filePath: `archives/${subCollection.id}` });
await removeFolder({ filePath: `archives/preview/${subCollection.id}` });
removeFolder({ filePath: `archives/${subCollection.id}` });
removeFolder({ filePath: `archives/preview/${subCollection.id}` });
}
}

Expand Down

0 comments on commit 1461caf

Please sign in to comment.