chore: removing unused function getTeamInfo (#3773)

This commit is contained in:
Alex Junior 2022-02-24 14:28:17 -03:00 committed by GitHub
parent 51ed83a33e
commit 6b5efcec82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -221,12 +221,6 @@ export const teamListRoomsOfUser = ({ teamId, userId }: { teamId: string; userId
// @ts-ignore // @ts-ignore
sdk.get('teams.listRoomsOfUser', { teamId, userId }); 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 => { export const convertChannelToTeam = ({ rid, name, type }: { rid: string; name: string; type: 'c' | 'p' }): any => {
const params = { const params = {
...(type === 'c' ...(type === 'c'