bugfix: a new flow added to re-enable disabled staffs.
This commit is contained in:
@@ -107,6 +107,13 @@ export const staffApi = {
|
||||
return response.data;
|
||||
},
|
||||
|
||||
enableMember: async (
|
||||
membershipId: string,
|
||||
): Promise<{ success: boolean; message: string }> => {
|
||||
const response = await apiClient.patch(`/staff/members/${membershipId}/enable`);
|
||||
return response.data;
|
||||
},
|
||||
|
||||
removeMember: async (
|
||||
membershipId: string,
|
||||
): Promise<{ success: boolean; message: string }> => {
|
||||
|
||||
Reference in New Issue
Block a user