fix update member
This commit is contained in:
@ -161,7 +161,7 @@ const Kyc = () => {
|
||||
});
|
||||
}
|
||||
if (dialogType === 'update') {
|
||||
await axios.put(`${BASE_URL}/customer/update/${customerId}`, form);
|
||||
await axios.put(`${BASE_URL}/customer/update-dashboard/${customerId}`, form);
|
||||
if (updateData.isneedapproval == 1 && destinationGroup === 'Premium')
|
||||
await axios.post(`${BASE_URL}/customer/approve`, {
|
||||
customerid: customerId,
|
||||
|
||||
@ -163,7 +163,7 @@ const ManageMembers = () => {
|
||||
}
|
||||
|
||||
if (dialogType === 'update') {
|
||||
await axios.put(`${BASE_URL}/customer/update/${selectedMember}`, formUpdate, {
|
||||
await axios.put(`${BASE_URL}/customer/update-dashboard/${selectedMember}`, formUpdate, {
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user