remove NeedHelp bailout, add DoNotSeeShop back
This commit is contained in:
parent
95f92d721b
commit
67a3ae062b
2 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue