Some more fixes for python structure

This commit is contained in:
Daniel Hougaard
2024-01-29 16:55:36 +04:00
parent 5aeb8f6b03
commit 8ade2f3758
5 changed files with 28 additions and 8 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ export const secretDALFactory = (db: TDbClient) => {
const data = sqlNestRelationships({
data: secs,
key: "id",
parentMapper: (el) => SecretsSchema.parse(el),
parentMapper: (el) => ({ _id: el.id, ...SecretsSchema.parse(el) }),
childrenMapper: [
{
key: "tagId",