chore: dashboard report, admin route decorator and guard

This commit is contained in:
Matin
2025-02-25 09:10:13 +03:30
parent 17e39fde09
commit 37b8e00445
5 changed files with 41 additions and 8 deletions
@@ -1,8 +1,12 @@
import { Controller, Get } from "@nestjs/common";
import { DashboardService } from "./providers/dashboard.service";
import { AdminRoute } from "../../common/decorators/admin.decorator";
import { AuthGuards } from "../../common/decorators/auth-guard.decorator";
@Controller("dashboards")
@AuthGuards()
@AdminRoute()
export class DashboardController {
constructor(private readonly dashboardService: DashboardService) {}