Skip to content

Commit

Permalink
fix: disable txcxn get endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nistei committed Apr 23, 2022
1 parent 5867193 commit 30a80c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/telex/telex-connection.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
Body, CacheInterceptor, CacheTTL,
Controller,
Delete,
Get,
Get, HttpException,
Param,
Post,
Put,
Expand Down Expand Up @@ -85,7 +85,8 @@ export class TelexConnectionController {
})
getAllActiveConnections(@Query(new ValidationPipe({ transform: true })) pagination: PaginationDto,
@Query(new ValidationPipe({ transform: true })) bounds: BoundsDto): Promise<PaginatedTelexConnectionDto> {
return this.telex.getActiveConnections(pagination, bounds);
throw new HttpException('Endpoint temporarily disabled', 401);
// return this.telex.getActiveConnections(pagination, bounds);
}

@Get('_find')
Expand Down

0 comments on commit 30a80c8

Please sign in to comment.