Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion app/forms/otp_delivery_selection_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def extra_analytics_attributes
{
otp_delivery_preference: otp_delivery_preference,
resend: resend,
country_code: parsed_phone.country_code,
country_code: parsed_phone.country,
area_code: parsed_phone.area_code,
context: context,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def index
otp_delivery_preference: 'sms',
resend: nil,
context: 'authentication',
country_code: '1',
country_code: 'US',
area_code: '202',
}

Expand Down Expand Up @@ -236,7 +236,7 @@ def index
otp_delivery_preference: 'voice',
resend: nil,
context: 'authentication',
country_code: '1',
country_code: 'US',
area_code: '202',
}

Expand Down Expand Up @@ -341,7 +341,7 @@ def index
otp_delivery_preference: 'sms',
resend: nil,
context: 'confirmation',
country_code: '1',
country_code: 'US',
area_code: '202',
}
twilio_error = "[HTTP 400] : error message\n\n"
Expand Down Expand Up @@ -379,7 +379,7 @@ def index
otp_delivery_preference: 'sms',
resend: nil,
context: 'confirmation',
country_code: '1',
country_code: 'US',
area_code: '202',
}
twilio_error_hash = {
Expand Down
2 changes: 1 addition & 1 deletion spec/forms/otp_delivery_selection_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
extra = {
otp_delivery_preference: 'sms',
resend: true,
country_code: '1',
country_code: 'US',
area_code: '202',
context: 'authentication',
}
Expand Down