chore: dashboard report, admin route decorator and guard
This commit is contained in:
@@ -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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user