fix: 删除接口
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in new issue
Block a user