chore: removing unused function getTeamInfo (#3773)
This commit is contained in:
parent
51ed83a33e
commit
6b5efcec82
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue