Skip to content

Commit

Permalink
feature flag controller: use metaMetricsId
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoloureirop committed Dec 11, 2024
1 parent 877699c commit 7ffa266
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { RemoteFeatureFlagControllerMessenger, RemoteFeatureFlagControllerState

export interface RemoteFeatureFlagInitParamTypes {
state?: RemoteFeatureFlagControllerState;
messenger: RemoteFeatureFlagControllerMessenger,
disabled: boolean
messenger: RemoteFeatureFlagControllerMessenger;
disabled: boolean;
metaMetricsId: string | undefined;
}

Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ export const createRemoteFeatureFlagController = ({
state,
messenger,
disabled,
metaMetricsId,
}: RemoteFeatureFlagInitParamTypes) => {

const remoteFeatureFlagController = new RemoteFeatureFlagController({
messenger,
state,
disabled,
metaMetricsId,
clientConfigApiService: new ClientConfigApiService({
fetch,
config: {
Expand Down

0 comments on commit 7ffa266

Please sign in to comment.