fix: 删除接口

This commit is contained in:
ilhamtahir committed 2024-11-21 20:11:03 +08:00
1 parent e9dc22fde9
commit fe63b5edc9
1 file changed
+1 -1
@@ -100,7 +100,7 @@ export class CategoryController {
); );
} }
@Delete() @Delete(':id')
@ApiBearerAuth() @ApiBearerAuth()
async delete(@Param('id') id: string) { async delete(@Param('id') id: string) {
await this.categoryService.delete(id); await this.categoryService.delete(id);