update webhook

This commit is contained in:
2024-10-13 16:22:07 +07:00
parent 56c11a4b77
commit 641c0622a5
7 changed files with 153 additions and 10 deletions

View File

@@ -15,12 +15,12 @@ import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger';
export class RestfulController {
constructor(private readonly restfulService: RestfulService) {}
// @Get()
// @ApiOperation({ summary: 'Get all items' })
// @ApiResponse({ status: 200, description: 'Returns all items.' })
// getAllItems() {
// return this.restfulService.getAllItems();
// }
@Get()
@ApiOperation({ summary: 'Get all items' })
@ApiResponse({ status: 200, description: 'Returns all items.' })
getAllItems() {
return this.restfulService.getAllItems();
}
// @Get(':id')
// @ApiOperation({ summary: 'Get an item by ID' })