Skip to content

Commit

Permalink
fix: add trailing slash to endpoint to retrieve features after featur…
Browse files Browse the repository at this point in the history
…e create (#4730)

(cherry picked from commit cbd08f3)
  • Loading branch information
matthewelwell committed Oct 16, 2024
1 parent ea4687e commit 9be7d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/common/stores/feature-list-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9be7d1a

Please sign in to comment.