diff --git a/src/article/controller/category.controller.ts b/src/article/controller/category.controller.ts index 0e10879..6e90461 100644 --- a/src/article/controller/category.controller.ts +++ b/src/article/controller/category.controller.ts @@ -100,7 +100,7 @@ export class CategoryController { ); } - @Delete() + @Delete(':id') @ApiBearerAuth() async delete(@Param('id') id: string) { await this.categoryService.delete(id);