Skip to content

Commit

Permalink
Update app/models/concerns/form526_claim_fast_tracking_concern.rb
Browse files Browse the repository at this point in the history
improve readability

Co-authored-by: YANG YANG <yangyang@navapbc.com>
  • Loading branch information
sethdarragile6 and nanotone authored Oct 25, 2024
1 parent 96cdbaa commit e38ca34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/models/concerns/form526_claim_fast_tracking_concern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,11 @@ def add_ep_merge_special_issue!

def ep_merge_feature_enabled?
actor = OpenStruct.new({ flipper_id: user_uuid })
feature_enabled = Flipper.enabled?(:disability_526_ep_merge_api, actor)
if Flipper.enabled?(:disability_compensation_production_tester, actor)
feature_enabled = false
Rails.logger.info("EP merge skipped for submission #{id}, user_uuid #{user_uuid}")
return false
end
feature_enabled
Flipper.enabled?(:disability_526_ep_merge_api, actor)
end

private
Expand Down

0 comments on commit e38ca34

Please sign in to comment.