bug
This commit is contained in:
@@ -47,7 +47,8 @@ export class CategoryController {
|
||||
@ApiOperation({ summary: 'Get category' })
|
||||
@ApiOkResponse({ description: 'Category detail', type: CreateCategoryDto })
|
||||
@ApiNotFoundResponse({ description: 'Category not found' })
|
||||
findOne(@Param() id: string, @RestId() restId: string) {
|
||||
@ApiParam({ name: 'id', required: true, type: String })
|
||||
findOne(@Param('id') id: string, @RestId() restId: string) {
|
||||
return this.categoryService.findOne(restId, id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user