From 4bd9dc0e09a5f829fd0b4a0928552cc14272fd00 Mon Sep 17 00:00:00 2001 From: Gleidson Daniel Silva Date: Fri, 4 Mar 2022 11:00:17 -0300 Subject: [PATCH] Chore: Migrate REST API - removeTeamRoom to Typescript (#3819) --- app/definitions/rest/v1/teams.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/definitions/rest/v1/teams.ts b/app/definitions/rest/v1/teams.ts index b8b1b5db..e32c5252 100644 --- a/app/definitions/rest/v1/teams.ts +++ b/app/definitions/rest/v1/teams.ts @@ -3,7 +3,7 @@ import { IServerTeamUpdateRoom, ITeam, TEAM_TYPE } from '../../ITeam'; export type TeamsEndpoints = { 'teams.removeRoom': { - POST: (params: { roomId: string; teamId: string }) => { room: IRoom }; + POST: (params: { roomId: string; teamId: string }) => { room: IServerRoomItem }; }; 'teams.listRoomsOfUser': { GET: (params: { teamId: string; userId: string }) => {