bugfix: a new flow added to re-enable disabled staffs.

This commit is contained in:
2026-05-18 19:03:52 +03:30
parent 10d8fac3f8
commit 3a0f5cbc6e
5 changed files with 216 additions and 4 deletions

View File

@@ -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 }> => {