Skip to content

Commit

Permalink
feat(27256): refactor types for _getConfigForRemoteFeatureFlagRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDDDanica committed Nov 30, 2024
1 parent 46903fb commit 948446f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -7422,11 +7422,11 @@ export default class MetamaskController extends EventEmitter {
_getConfigForRemoteFeatureFlagRequest() {
const distribution =
buildTypeMappingForRemoteFeatureFlag[process.env.METAMASK_BUILD_TYPE] ||
'main';
DistributionType.main;
const environment =
environmentMappingForRemoteFeatureFlag[
process.env.METAMASK_ENVIRONMENT
] || 'dev';
] || EnvironmentType.Development;
return { distribution, environment };
}

Expand Down

0 comments on commit 948446f

Please sign in to comment.