remove NeedHelp bailout, add DoNotSeeShop back

This commit is contained in:
Katie Kroell 2026-01-29 10:00:18 -05:00
parent 95f92d721b
commit 67a3ae062b
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ const bailoutCode = Object.freeze({
VehicleNotFound: 2, VehicleNotFound: 2,
VehicleVinLookupError: 3, VehicleVinLookupError: 3,
CoverageStatementInvalidState: 4, CoverageStatementInvalidState: 4,
NeedHelp: 5, DoNotSeeMyShop: 5,
PricingResponseError: 6, PricingResponseError: 6,
TPANotEnabled: 7, TPANotEnabled: 7,
RequestCallback: 8, RequestCallback: 8,

View file

@ -33,9 +33,9 @@ const bailoutMessage = Object.freeze({
code: bailoutCode.CoverageStatementInvalidState, code: bailoutCode.CoverageStatementInvalidState,
message: 'Coverage Statement has entered an invalid state' message: 'Coverage Statement has entered an invalid state'
}), }),
needHelp: () => ({ doNotSeeMyShop: () => ({
code: bailoutCode.NeedHelp, code: bailoutCode.DoNotSeeMyShop,
message: 'User clicked Need Help link.' message: 'User does not see their shop.'
}), }),
pricingResponseError: (lineItems, error) => ({ pricingResponseError: (lineItems, error) => ({
code: bailoutCode.PricingResponseError, code: bailoutCode.PricingResponseError,