mother fullname optional
This commit is contained in:
@ -244,7 +244,7 @@ const PaymentCard = ({ barcode, agent_name, customerId, token_legacy, setToken_l
|
||||
|
||||
const updateTokenLegacy = async () => {
|
||||
try {
|
||||
if (!token_legacy) toast.warning(`Token Legacy can not be empty`);
|
||||
if (!token_legacy) return toast.warning(`Token Legacy can not be empty`);
|
||||
await axios.post(`${BASE_URL}/token/insert-token-legacy`, {
|
||||
customerid: customerId,
|
||||
token_legacy
|
||||
|
||||
Reference in New Issue
Block a user