Skip to content

Commit

Permalink
Remove reference to va_online_scheduling_required_schedulable_param f…
Browse files Browse the repository at this point in the history
…eature flag
  • Loading branch information
JunTaoLuo committed Mar 26, 2024
1 parent 6675535 commit 4bcdcfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 0 additions & 4 deletions config/features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1090,10 +1090,6 @@ features:
actor_type: user
enable_in_development: true
description: Toggle for proof of concept to help Veteran contact a facility when the type of care is not available
va_online_scheduling_required_schedulable_param:
actor_type: user
enable_in_development: true
description: Toggle that requires the inclusion of a new 'schedulable' boolean param for fetching facilities
va_online_scheduling_after_visit_summary:
actor_type: user
enable_in_development: true
Expand Down
9 changes: 3 additions & 6 deletions modules/vaos/app/controllers/vaos/v2/facilities_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,9 @@ def type
end

def schedulable
if Flipper.enabled?('va_online_scheduling_required_schedulable_param')
# with this flag on, we will always want to return 'true' for this param per github issue #59503
params[:schedulable] = true
else
params[:schedulable]
end
# We will always want to return 'true' for this param per github issue #59503
# and PR vets-api#13087
params[:schedulable] = true
end
end
end
Expand Down
1 change: 0 additions & 1 deletion modules/vaos/spec/request/v2/facilities_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

before do
Flipper.enable('va_online_scheduling')
Flipper.enable('va_online_scheduling_required_schedulable_param')
sign_in_as(user)
allow_any_instance_of(VAOS::UserService).to receive(:session).and_return('stubbed_token')
end
Expand Down

0 comments on commit 4bcdcfb

Please sign in to comment.