diff --git a/src/telex/telex-connection.controller.ts b/src/telex/telex-connection.controller.ts index 8448f5c..f51e7be 100644 --- a/src/telex/telex-connection.controller.ts +++ b/src/telex/telex-connection.controller.ts @@ -2,7 +2,7 @@ import { Body, CacheInterceptor, CacheTTL, Controller, Delete, - Get, + Get, HttpException, Param, Post, Put, @@ -85,7 +85,8 @@ export class TelexConnectionController { }) getAllActiveConnections(@Query(new ValidationPipe({ transform: true })) pagination: PaginationDto, @Query(new ValidationPipe({ transform: true })) bounds: BoundsDto): Promise { - return this.telex.getActiveConnections(pagination, bounds); + throw new HttpException('Endpoint temporarily disabled', 401); + // return this.telex.getActiveConnections(pagination, bounds); } @Get('_find')