Skip to content

Commit

Permalink
fix: Add addExperimentTrigger method to ControlResponseBuilder
Browse files Browse the repository at this point in the history
because ResponseBuilder require to implement it
  • Loading branch information
ysak-y authored and Shreyas-vgr committed Mar 31, 2022
1 parent f48f74f commit cbafd13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/responseGeneration/ControlResponseBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,9 @@ export class ControlResponseBuilder implements ResponseBuilder {
addAPLDocumentLayout(key: string, data: { [key: string]: any }) {
this.aplDocumentLayouts[key] = data;
}

addExperimentTrigger(experimentId: string): this {
this.coreBuilder.addExperimentTrigger(experimentId);
return this;
}
}

0 comments on commit cbafd13

Please sign in to comment.