Update project-dal.ts

This commit is contained in:
Daniel Hougaard
2024-01-30 18:31:22 +04:00
parent 5a4ed1dbe6
commit d12f775202
+1 -1
View File
@@ -96,7 +96,7 @@ export const projectDALFactory = (db: TDbClient) => {
] ]
}); });
// We need to add the organization field, as it's for one of our API endpoint responses. // We need to add the organization field, as it's required for one of our API endpoint responses.
return nestedWorkspaces.map((workspace) => ({ return nestedWorkspaces.map((workspace) => ({
...workspace, ...workspace,
organization: workspace.id organization: workspace.id