Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update project-dal.ts

Daniel Hougaard5a4ed1dbe610
diff --git a/backend/src/services/project/project-dal.ts b/backend/src/services/project/project-dal.ts
index 87a10b2e79..6598613d1f 100644
--- a/backend/src/services/project/project-dal.ts
+++ b/backend/src/services/project/project-dal.ts
@@ -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) => ({
...workspace,
organization: workspace.id