mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
chore: cleanup
This commit is contained in:
@@ -498,18 +498,6 @@ export const secretV2BridgeDALFactory = (db: TDbClient) => {
|
||||
]
|
||||
});
|
||||
|
||||
// if (secretMetadata) {
|
||||
// return data.filter((s) => {
|
||||
// if (!s.secretMetadata.length) return false;
|
||||
|
||||
// return secretMetadata.every((m) => {
|
||||
// const secretMeta = s.secretMetadata.find((sm) => sm.key === m.key);
|
||||
// if (!secretMeta) return false;
|
||||
// return secretMeta.value === m.value;
|
||||
// });
|
||||
// });
|
||||
// }
|
||||
|
||||
return data;
|
||||
} catch (error) {
|
||||
throw new DatabaseError({ error, name: "get all secret" });
|
||||
|
||||
Reference in New Issue
Block a user