chore: add some

This commit is contained in:
mahyargdz
2025-02-12 10:23:36 +03:30
parent 49c62018f0
commit 22198f3240
9 changed files with 105 additions and 22 deletions
@@ -63,7 +63,7 @@ export class DanakServicesController {
@Roles(RoleEnum.ADMIN)
@ApiOperation({ summary: "toggle status of categories => admin route" })
@HttpCode(HttpStatus.OK)
@Post("category/toggle-status/:id")
@Post("categories/toggle-status/:id")
toggleCategoryStatus(@Param() paramDto: ParamDto) {
return this.danakServicesService.toggleCategoryStatus(paramDto);
}