Skip to content

Commit

Permalink
Reverted the changes done for custom PG for ci environment
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-priyanka-deshmane committed Aug 13, 2024
1 parent 70b29e5 commit 8155281
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src_new/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +292,8 @@ exports.isReduceCodeSizeFeatureEnabled = function(){
};
// endRemoveIf(removeAlways)

// Changes to handle custom PG scenario on CI
// Remove below custom handling before giving master drop.
exports.getPriceGranularity = function(){
var pg = config[CONSTANTS.CONFIG.COMMON][CONSTANTS.COMMON.PRICE_GRANULARITY] || null;
return (pg == 'custom') ? 'medium' : pg;
return config[CONSTANTS.CONFIG.COMMON][CONSTANTS.COMMON.PRICE_GRANULARITY] || null;
};

exports.getGranularityMultiplier = function(){
Expand Down

0 comments on commit 8155281

Please sign in to comment.