mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 20:27:12 +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;
|
return data;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new DatabaseError({ error, name: "get all secret" });
|
throw new DatabaseError({ error, name: "get all secret" });
|
||||||
|
|||||||
Reference in New Issue
Block a user