Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 6x 6x 6x 6x 6x | import { Controller, Get, Param, ParseUUIDPipe } from '@nestjs/common';
import { ExecutionLogsService } from './execution-logs.service';
import { ExecutionLog } from '../core-entities';
@Controller() // No common prefix for these specific routes
export class ExecutionLogsController {
constructor(private readonly executionLogsService: ExecutionLogsService) {}
@Get('actions/:actionId/logs')
async findAllByActionId(
@Param('actionId', ParseUUIDPipe) actionId: string,
): Promise<ExecutionLog[]> {
return this.executionLogsService.findAllByActionId(actionId);
}
}
|