CSR-628 Pass in referralNumber and accountNumber as strings

This commit is contained in:
Katie 2022-05-20 13:06:34 -04:00
parent 2d397d8607
commit 3f26bf6e97

View file

@ -38,10 +38,10 @@ export async function saveOrder() {
// Save the referral information back from the store. // Save the referral information back from the store.
await baseMixin.methods.dispatchStoreAction(storeActions.SET_REFERRAL_INFORMATION, { await baseMixin.methods.dispatchStoreAction(storeActions.SET_REFERRAL_INFORMATION, {
referralNumber: savedOrderInfo.data.referralNumber, referralNumber: savedOrderInfo.data.referralNumber.toString(),
referralCorrelationId: savedOrderInfo.data.referralCorrelationId, referralCorrelationId: savedOrderInfo.data.referralCorrelationId,
referralDate: savedOrderInfo.data.referralDate, referralDate: savedOrderInfo.data.referralDate,
accountNumber: savedOrderInfo.data.accountNumber accountNumber: savedOrderInfo.data.accountNumber.toString()
}, false); }, false);
// Update the cookie with the referral information when saved. // Update the cookie with the referral information when saved.