CSR-628 Type changes
This commit is contained in:
parent
844cbf088f
commit
3acea7906a
1 changed files with 4 additions and 4 deletions
|
|
@ -573,9 +573,9 @@ export const actions = {
|
||||||
state: order.serviceLocation.state,
|
state: order.serviceLocation.state,
|
||||||
zipCode: order.serviceLocation.zipCode
|
zipCode: order.serviceLocation.zipCode
|
||||||
},
|
},
|
||||||
referralNumber: order.referralNumber,
|
referralNumber: order.referralNumber?.toString(), // TODO It'd be nice to save these as strings in the first place
|
||||||
referralDate: order.referralDate,
|
referralDate: order.referralDate,
|
||||||
accountNumber: order.accountNumber
|
accountNumber: order.accountNumber?.toString()
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
@ -585,10 +585,10 @@ export const actions = {
|
||||||
method: endpoints.LoadOrder.method,
|
method: endpoints.LoadOrder.method,
|
||||||
endpoint: endpoints.LoadOrder.url,
|
endpoint: endpoints.LoadOrder.url,
|
||||||
payload: {
|
payload: {
|
||||||
referralNumber: referralNumber,
|
referralNumber: referralNumber?.toString(),
|
||||||
referralDate: referralDate,
|
referralDate: referralDate,
|
||||||
referralCorrelationId: referralCorrelationId,
|
referralCorrelationId: referralCorrelationId,
|
||||||
accountNumber: accountNumber
|
accountNumber: accountNumber?.toString()
|
||||||
},
|
},
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
context.commit(storeMutations.RESET_STATE);
|
context.commit(storeMutations.RESET_STATE);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue