Explorar el Código

fix: 删除接口

IlhamTahir hace 1 año
padre
commit
fe63b5edc9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/article/controller/category.controller.ts

+ 1 - 1
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);