fix(router): remove unused get all group route

This commit is contained in:
Aaron Liu 2025-06-13 13:30:13 +08:00
parent cdbc2861f9
commit 1c87bc1c16

View File

@ -481,22 +481,6 @@ export function getSearchUser(keyword: string): ThunkResponse<User[]> {
};
}
export function getAllGroups(): ThunkResponse<Group[]> {
return async (dispatch, _getState) => {
return await dispatch(
send(
"/group/list",
{
method: "GET",
},
{
...defaultOpts,
},
),
);
};
}
export function sendCreateShare(req: ShareCreateService): ThunkResponse<string> {
return async (dispatch, _getState) => {
return await dispatch(