guide schedule
This commit is contained in:
@@ -47,7 +47,7 @@ export const updateRole = async (id: string, params: CreateRoleType) => {
|
||||
|
||||
export const getPermissions = async (): Promise<GetPermissionsResponseType> => {
|
||||
const { data } = await axios.get<GetPermissionsResponseType>(
|
||||
`/admin/permissions`
|
||||
`/admin/roles/permissions`
|
||||
);
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user