Skip to content

Commit

Permalink
Make 26-4555 no longer need an ICN to go to the SAHSHA API
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrillberg committed Oct 24, 2024
1 parent fd92db6 commit 6f27411
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def submit

response = if intent_service.use_intent_api?
handle_210966_authenticated
elsif form_is264555_and_should_use_lgy_api
elsif params[:form_number] == '26-4555'
handle264555
else
submit_form_to_benefits_intake
Expand Down Expand Up @@ -213,10 +213,6 @@ def perform_pdf_upload(location, file_path, metadata, form)
lighthouse_service.perform_upload(**upload_params)
end

def form_is264555_and_should_use_lgy_api
params[:form_number] == '26-4555' && icn
end

def icn
@current_user&.icn
end
Expand Down

0 comments on commit 6f27411

Please sign in to comment.