mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-10 07:58:15 -05:00
add tags support in secret imports
This commit is contained in:
@@ -54,6 +54,14 @@ export const getAllImportedSecrets = async (
|
||||
type: "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
$lookup: {
|
||||
from: "tags", // note this is the name of the collection in the database, not the Mongoose model name
|
||||
localField: "tags",
|
||||
foreignField: "_id",
|
||||
as: "tags"
|
||||
}
|
||||
},
|
||||
{
|
||||
$group: {
|
||||
_id: {
|
||||
|
||||
Reference in New Issue
Block a user