chore: cleanup

This commit is contained in:
Daniel Hougaard
2025-03-05 22:47:39 +04:00
parent 7fd4249d00
commit 2e6d525d27
2 changed files with 9 additions and 44 deletions
@@ -103,18 +103,6 @@ export const fnSecretBulkInsert = async ({
}))
);
const secretTags = await secretTagDAL.find({
$in: {
id: newSecretTags.map((el) => el.secret_tagsId)
}
});
const secretTagsWithSlugs = await secretTagDAL.find({
$in: {
id: secretTags.map((el) => el.id)
}
});
const secretVersions = await secretVersionDAL.insertMany(
sanitizedInputSecrets.map((el) => ({
...el,