From fe63b5edc9a512c33a2b80f3e2effee01f4ff987 Mon Sep 17 00:00:00 2001 From: IlhamTahir Date: Thu, 21 Nov 2024 20:11:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/article/controller/category.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);