Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
246 changes: 0 additions & 246 deletions backend/src/iac/backend-stack.test.ts

This file was deleted.

19 changes: 19 additions & 0 deletions backend/src/reports/reports.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,25 @@ export class ReportsController {
return this.reportsService.findLatest(queryDto);
}

@ApiOperation({ summary: 'GET report' })
@ApiResponse({
status: 200,
description: 'Report status updated successfully',
type: Report,
})
@ApiResponse({
status: 404,
description: 'Report not found',
})
@ApiParam({
name: 'id',
description: 'Report ID',
})
@Get(':id')
async getReport(@Param('id') id: string): Promise<Report> {
return this.reportsService.findOne(id);
}

@ApiOperation({ summary: 'Update report status' })
@ApiResponse({
status: 200,
Expand Down