CSR-1072 prettier
This commit is contained in:
parent
4fcfabfc77
commit
085534d0fc
1 changed files with 8 additions and 3 deletions
|
|
@ -79,13 +79,18 @@ const routes = [
|
||||||
// for testing end to end locally, see if there is a referralNumber on the querystring
|
// for testing end to end locally, see if there is a referralNumber on the querystring
|
||||||
// that could have changed in heritage and then stick it in the store and then update the cookie
|
// that could have changed in heritage and then stick it in the store and then update the cookie
|
||||||
// so load-session runs properly. this can be removed when heritage goes away
|
// so load-session runs properly. this can be removed when heritage goes away
|
||||||
const referralNumber = getQuerystringParameter(queryStrings.REFERRAL_NUMBER);
|
const referralNumber = getQuerystringParameter(
|
||||||
|
queryStrings.REFERRAL_NUMBER
|
||||||
|
);
|
||||||
const parentAccount = getQuerystringParameter(queryStrings.PARENT_ACCOUNT);
|
const parentAccount = getQuerystringParameter(queryStrings.PARENT_ACCOUNT);
|
||||||
const correlationId = getQuerystringParameter(queryStrings.CORRELATION_ID);
|
const correlationId = getQuerystringParameter(queryStrings.CORRELATION_ID);
|
||||||
if (referralNumber) {
|
if (referralNumber) {
|
||||||
store.commit(storeMutations.UPDATE_REFERRAL_NUMBER, referralNumber);
|
store.commit(storeMutations.UPDATE_REFERRAL_NUMBER, referralNumber);
|
||||||
store.commit(storeMutations.UPDATE_PARENT_ACCT_NUMBER, parentAccount);
|
store.commit(storeMutations.UPDATE_PARENT_ACCT_NUMBER, parentAccount);
|
||||||
store.commit(storeMutations.UPDATE_REFERRAL_CORRELATION_ID, correlationId);
|
store.commit(
|
||||||
|
storeMutations.UPDATE_REFERRAL_CORRELATION_ID,
|
||||||
|
correlationId
|
||||||
|
);
|
||||||
updateOrCreateFunnelCookie();
|
updateOrCreateFunnelCookie();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue