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)
  • Loading branch information
matthewelwell authored Oct 15, 2024
1 parent 02302c5 commit cbd08f3
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 cbd08f3

Please sign in to comment.