(@CurrentAuth() auth: AuthContext | null)
| 1244 | @Get() |
| 1245 | @ApiOkResponse({ type: [WorkflowResponseDto] }) |
| 1246 | async findAll(@CurrentAuth() auth: AuthContext | null): Promise<WorkflowResponseDto[]> { |
| 1247 | const serviceResponses = await this.workflowsService.list(auth); |
| 1248 | return serviceResponses.map((response) => this.transformServiceResponseToApi(response)); |
| 1249 | } |
| 1250 | |
| 1251 | private transformServiceResponseToApi( |
| 1252 | serviceResponse: ServiceWorkflowResponse, |
no test coverage detected