Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def exclusion_periods
private

def set_type
@form_type = params['type']&.capitalize.presence || 'Chapter33'
type = params['type'].presence || 'Chapter33'
@form_type = type == 'VetTec' ? type : type.capitalize
Comment thread
s-caso marked this conversation as resolved.
Outdated
Comment thread
s-caso marked this conversation as resolved.
Outdated
end
Comment thread
s-caso marked this conversation as resolved.

def dispatch_confirmation_email(email)
Expand Down
3 changes: 2 additions & 1 deletion modules/meb_api/lib/dgi/automation/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def get_claimant_info(type)
private

def end_point(type)
"claimType/#{type.capitalize}/claimants"
formatted_type = type == 'VetTec' ? type : type.capitalize
"claimType/#{formatted_type}/claimants"
Comment thread
s-caso marked this conversation as resolved.
Outdated
end

def request_headers
Expand Down
Loading