Skip to content

Commit 01ee04f

Browse files
committed
minor cleanup
1 parent 3fba6d7 commit 01ee04f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/eppo-assignment-logger.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ export class EppoAssignmentLogger implements IAssignmentLogger {
77

88
logAssignment(event: IAssignmentEvent): void {
99
const entity = event.subjectAttributes.entity;
10-
const { holdoutKey, holdoutVariation, subject: subject_id, experiment, variant } = event;
10+
const {
11+
holdoutKey: holdout,
12+
holdoutVariation: holdout_variant,
13+
subject: subject_id,
14+
experiment,
15+
variant,
16+
} = event;
1117
this.eppoClient.track('__eppo_assignment', {
1218
subject_id,
1319
experiment,
1420
variant,
1521
entity,
16-
holdout: holdoutKey,
17-
holdout_variant: holdoutVariation,
22+
holdout,
23+
holdout_variant,
1824
});
1925
}
2026
}

0 commit comments

Comments
 (0)