From 6b5efcec825061ff04b13b7e00afc77101b18c8b Mon Sep 17 00:00:00 2001 From: Alex Junior Date: Thu, 24 Feb 2022 14:28:17 -0300 Subject: [PATCH] chore: removing unused function getTeamInfo (#3773) --- app/lib/rocketchat/services/restApi.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/lib/rocketchat/services/restApi.ts b/app/lib/rocketchat/services/restApi.ts index 3fc51812..81558c20 100644 --- a/app/lib/rocketchat/services/restApi.ts +++ b/app/lib/rocketchat/services/restApi.ts @@ -221,12 +221,6 @@ export const teamListRoomsOfUser = ({ teamId, userId }: { teamId: string; userId // @ts-ignore sdk.get('teams.listRoomsOfUser', { teamId, userId }); -export const getTeamInfo = ({ teamId }: { teamId: string }): any => - // RC 3.13.0 - // TODO: missing definitions from server - // @ts-ignore - sdk.get('teams.info', { teamId }); - export const convertChannelToTeam = ({ rid, name, type }: { rid: string; name: string; type: 'c' | 'p' }): any => { const params = { ...(type === 'c'