edit user api

This commit is contained in:
Sonika 2023-12-20 16:06:43 +05:30
parent 3a58e5a1ce
commit 0bc2875bba

View File

@ -0,0 +1,9 @@
import axios from "axios";
export const postEditManageUsersData = async (data: any)=> {
const { data: response } = await axios.post(
`${process.env.REACT_APP_API_URL}/edit-user`,
data
);
return await response.data;
};