diff --git a/src/api/api.ts b/src/api/api.ts index b81dea9..4e9018f 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -481,22 +481,6 @@ export function getSearchUser(keyword: string): ThunkResponse { }; } -export function getAllGroups(): ThunkResponse { - return async (dispatch, _getState) => { - return await dispatch( - send( - "/group/list", - { - method: "GET", - }, - { - ...defaultOpts, - }, - ), - ); - }; -} - export function sendCreateShare(req: ShareCreateService): ThunkResponse { return async (dispatch, _getState) => { return await dispatch(