added the update api1
This commit is contained in:
parent
e811270cd8
commit
6cb5262786
@ -176,6 +176,7 @@ export const updateKycStatus = async (req, res) => {
|
|||||||
|
|
||||||
res.status(200).json({ message: "KYC status updated successfully" });
|
res.status(200).json({ message: "KYC status updated successfully" });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.log(error);
|
||||||
res.status(500).json({ message: "Error updating KYC status", error });
|
res.status(500).json({ message: "Error updating KYC status", error });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user