@@ -100,7 +100,7 @@ export class CategoryController {
);
}
- @Delete()
+ @Delete(':id')
@ApiBearerAuth()
async delete(@Param('id') id: string) {
await this.categoryService.delete(id);