added the update api1

This commit is contained in:
ROSHAN GARG 2024-08-02 11:31:45 +05:30
parent e811270cd8
commit 6cb5262786

View File

@ -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 });
} }
}; };