From cbd08f3e4ef877be135b5fa9a4748f6870ff68dd Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Tue, 15 Oct 2024 14:26:13 +0200 Subject: [PATCH] fix: add trailing slash to endpoint to retrieve features after feature create (#4730) --- frontend/common/stores/feature-list-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/common/stores/feature-list-store.ts b/frontend/common/stores/feature-list-store.ts index be445d281df7..680cb6568a7f 100644 --- a/frontend/common/stores/feature-list-store.ts +++ b/frontend/common/stores/feature-list-store.ts @@ -115,7 +115,7 @@ const controller = { }) .then(() => Promise.all([ - data.get(`${Project.api}projects/${projectId}/features?environment=${ProjectStore.getEnvironmentIdFromKey(environmentId)}`), + data.get(`${Project.api}projects/${projectId}/features/?environment=${ProjectStore.getEnvironmentIdFromKey(environmentId)}`), ]).then(([features]) => { const environmentFeatures = features.results.map((v) => ({ ...v.environment_feature_state,