(@Auth() auth: AuthDto, @Req() req: Request, @Res() res: Response, @Body() dto: SyncStreamDto)
| 28 | history: new HistoryBuilder().added('v1').beta('v1').stable('v2'), |
| 29 | }) |
| 30 | async getSyncStream(@Auth() auth: AuthDto, @Req() req: Request, @Res() res: Response, @Body() dto: SyncStreamDto) { |
| 31 | try { |
| 32 | await this.service.stream(auth, res, dto); |
| 33 | } catch (error: Error | any) { |
| 34 | res.setHeader('Content-Type', 'application/json'); |
| 35 | this.errorService.handleError(req, res, error); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | @Get('ack') |
| 40 | @Authenticated({ permission: Permission.SyncCheckpointRead }) |
nothing calls this directly
no test coverage detected