Skip to content

Commit 9b06f5e

Browse files
authored
1 parent e3ac6fb commit 9b06f5e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test-runs/test-runs.controller.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ export class TestRunsController {
5555
return this.testRunsService.findMany(buildId);
5656
}
5757

58+
@Get(':id')
59+
@ApiOkResponse({ type: TestRunDto })
60+
@ApiBearerAuth()
61+
@UseGuards(JwtAuthGuard)
62+
getDetails(@Param('id', new ParseUUIDPipe()) id: string): Promise<TestRunDto> {
63+
return this.testRunsService.findOne(id);
64+
}
65+
5866
@Post('approve')
5967
@ApiQuery({ name: 'merge', required: false })
6068
@ApiBearerAuth()

0 commit comments

Comments
 (0)