(@CurrentAuth() auth: AuthContext | null, @Param('id') id: string)
| 513 | @UseGuards(WorkflowRoleGuard) |
| 514 | @RequireWorkflowRole('ADMIN') |
| 515 | async remove(@CurrentAuth() auth: AuthContext | null, @Param('id') id: string) { |
| 516 | await this.workflowsService.delete(id, auth); |
| 517 | return { status: 'deleted', id }; |
| 518 | } |
| 519 | |
| 520 | @Post(':id/commit') |
| 521 | @UseGuards(WorkflowRoleGuard) |
no test coverage detected