forked from jamesp/sasa-membership
Arch changes and feature flags
This commit is contained in:
@@ -225,6 +225,11 @@ export const userService = {
|
||||
const response = await api.put(`/users/${userId}`, data);
|
||||
return response.data;
|
||||
},
|
||||
|
||||
async deleteUser(userId: number): Promise<{ message: string }> {
|
||||
const response = await api.delete(`/users/${userId}`);
|
||||
return response.data;
|
||||
},
|
||||
};
|
||||
|
||||
export const membershipService = {
|
||||
|
||||
Reference in New Issue
Block a user