CSR-628 Pass in referralNumber and accountNumber as strings
This commit is contained in:
parent
2d397d8607
commit
3f26bf6e97
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue