From 2832476c2ba84fbbe723d43a683980d4f2301aaa Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 30 Jan 2023 19:22:38 -0800 Subject: [PATCH] Add write permission status --- backend/src/controllers/v2/environmentController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })