reject member
This commit is contained in:
@ -112,7 +112,7 @@ const Kyc = () => {
|
|||||||
delete updateData.group_deleted_at;
|
delete updateData.group_deleted_at;
|
||||||
try {
|
try {
|
||||||
if (dialogType === 'reject') {
|
if (dialogType === 'reject') {
|
||||||
await axios.put(`${BASE_URL}/customer/reject`, {customerid: customerId})
|
await axios.post(`${BASE_URL}/customer/reject`, {customerid: customerId})
|
||||||
}
|
}
|
||||||
if (dialogType === 'update') {
|
if (dialogType === 'update') {
|
||||||
await axios.put(`${BASE_URL}/customer/update/${customerId}`, updateData)
|
await axios.put(`${BASE_URL}/customer/update/${customerId}`, updateData)
|
||||||
|
|||||||
Reference in New Issue
Block a user