From 7e16d86864596ec6b4753c2722a0f74d4fa47968 Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Tue, 3 Sep 2024 21:11:24 -0700 Subject: [PATCH] Update app.module.ts --- backend/src/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app.module.ts b/backend/src/app.module.ts index 563f5b4..c901e82 100644 --- a/backend/src/app.module.ts +++ b/backend/src/app.module.ts @@ -3,8 +3,8 @@ import {MiddlewareConsumer, Module, RequestMethod} from "@nestjs/common"; import {HTTPLoggerMiddleware} from "./middleware/req.res.logger"; import {ConfigModule} from "@nestjs/config"; import {AppService} from "./app.service"; -import {AppController} from "./app.controller"; import {MetricsController} from "./metrics.controller"; +import {AppController} from "./app.controller"; import {TerminusModule} from '@nestjs/terminus'; import {RedisModule} from "./redis/redis.module"; @@ -14,7 +14,7 @@ import {RedisModule} from "./redis/redis.module"; TerminusModule, RedisModule ], - controllers: [AppController, MetricsController], + controllers: [MetricsController, AppController], providers: [AppService] }) export class AppModule { // let's add a middleware on all routes