Skip to content

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

Add write permission status

Maidul Islam2832476c2ba8
diff --git a/backend/src/controllers/v2/environmentController.ts b/backend/src/controllers/v2/environmentController.ts
index 4cc702eecd..4f028b1f71 100644
--- a/backend/src/controllers/v2/environmentController.ts
+++ b/backend/src/controllers/v2/environmentController.ts
@@ -250,7 +250,7 @@ export const getAllAccessibleEnvironmentsOfWorkspace = async (
return
} else {
accessibleEnvironments.push({
- environment: environment,
+ environmentDetails: environment,
// readDenied: isReadBlocked,
isWriteDenied: isWriteBlocked
})