Skip to content

Commit 7c1d783

Browse files
cleaned ufc response interface
1 parent 9b09c86 commit 7c1d783

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/configuration-requestor.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export default class ConfigurationRequestor {
6565
createdAt: configResponse.createdAt,
6666
format: configResponse.format,});
6767

68-
this.setBanditModelVersions(
69-
this.getLoadedBanditModelVersionsFromStore(this.banditModelConfigurationStore),
68+
this.banditModelVersions = this.getLoadedBanditModelVersionsFromStore(
69+
this.banditModelConfigurationStore,
7070
);
7171
}
7272
}
@@ -84,10 +84,6 @@ export default class ConfigurationRequestor {
8484
);
8585
}
8686

87-
private setBanditModelVersions(modelVersions: string[]) {
88-
this.banditModelVersions = modelVersions;
89-
}
90-
9187
private requiresBanditModelConfigurationStoreUpdate(
9288
currentBanditModelVersions: string[],
9389
banditReferences: Record<string, BanditReference>,

src/http-client.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export interface IUniversalFlagConfigResponse {
3636
format: FormatEnum;
3737
environment: Environment;
3838
flags: Record<string, Flag>;
39-
bandits: Record<string, BanditVariation[]>;
4039
banditReferences: Record<string, BanditReference>;
4140
}
4241

0 commit comments

Comments
 (0)