Update project-dal.ts

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