(@Param('id') id: string, @Body() data: { content: string }, @Req() req: RequestWithUser)
| 84 | @Permissions(PERMISSIONS.task.update) |
| 85 | @Post(':id/comments') |
| 86 | addComment(@Param('id') id: string, @Body() data: { content: string }, @Req() req: RequestWithUser) { |
| 87 | return this.taskService.addComment(id, data.content, req.user); |
| 88 | } |
| 89 | |
| 90 | @UseGuards(RolesGuard, PermissionsGuard) |
| 91 | @Role('user') |
nothing calls this directly
no outgoing calls
no test coverage detected