fix update member

This commit is contained in:
unknown
2025-05-07 11:55:31 +07:00
parent de3e301078
commit 8dc29aeb7d
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ const Kyc = () => {
}); });
} }
if (dialogType === 'update') { 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') if (updateData.isneedapproval == 1 && destinationGroup === 'Premium')
await axios.post(`${BASE_URL}/customer/approve`, { await axios.post(`${BASE_URL}/customer/approve`, {
customerid: customerId, customerid: customerId,

View File

@ -163,7 +163,7 @@ const ManageMembers = () => {
} }
if (dialogType === 'update') { if (dialogType === 'update') {
await axios.put(`${BASE_URL}/customer/update/${selectedMember}`, formUpdate, { await axios.put(`${BASE_URL}/customer/update-dashboard/${selectedMember}`, formUpdate, {
headers: { headers: {
'Content-Type': 'multipart/form-data' 'Content-Type': 'multipart/form-data'
} }