chore: cleanup

This commit is contained in:
Daniel Hougaard
2025-01-28 23:35:07 +01:00
parent ba03fc256b
commit 55b0dc7f81

View File

@@ -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" });