Skip to content

Commit 55f1245

Browse files
talissoncostaclaude
andcommitted
Remove unused getEnvironmentFeatures method
This method was a leftover from the old backend plugin architecture. With the proxy approach, we just use getProjectFeatures directly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 5319f85 commit 55f1245

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/api/FlagsmithClient.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,6 @@ export class FlagsmithClient {
137137
return data.results || data;
138138
}
139139

140-
async getEnvironmentFeatures(
141-
_environmentId: number,
142-
projectId: string,
143-
): Promise<FlagsmithFeature[]> {
144-
// With proxy approach, we just get project features
145-
// Details are loaded lazily on accordion expand
146-
return this.getProjectFeatures(projectId);
147-
}
148-
149140
async getProjectEnvironments(
150141
projectId: number,
151142
): Promise<FlagsmithEnvironment[]> {

0 commit comments

Comments
 (0)