Change flag name to flag id for existing flags (#13073)

This commit is contained in:
Adib234
2025-11-14 13:34:54 -08:00
committed by GitHub
parent ba15eeb55f
commit ce56b4ee1b
5 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -1425,8 +1425,8 @@ export class Config {
this.experiments = experiments;
const flagSummaries = Object.entries(experiments.flags ?? {})
.sort(([a], [b]) => a.localeCompare(b))
.map(([name, flag]) => {
const summary: Record<string, unknown> = { name };
.map(([flagId, flag]) => {
const summary: Record<string, unknown> = { flagId };
if (flag.boolValue !== undefined) {
summary['boolValue'] = flag.boolValue;
}