diff --git a/backend/src/controllers/v2/environmentController.ts b/backend/src/controllers/v2/environmentController.ts index 4cc702eec..4f028b1f7 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 })