edit user api
This commit is contained in:
parent
3a58e5a1ce
commit
0bc2875bba
9
src/APIs/ManageUsersAPIs/postEditUser.tsx
Normal file
9
src/APIs/ManageUsersAPIs/postEditUser.tsx
Normal 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;
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user