mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 05:19:49 +00:00
chore: cleanup
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user