From c169e54f283ec88e6fb298683d3d415be753cce9 Mon Sep 17 00:00:00 2001 From: Vijak Khajornritdacha Date: Mon, 18 Sep 2023 23:52:45 +0700 Subject: [PATCH] Revert "fix: add skip auth to health check path" This reverts commit babd8e3d1ba94f243a4bbb867fb31ae7c4d20d13. --- apps/admin-api/src/app/app.controller.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/admin-api/src/app/app.controller.ts b/apps/admin-api/src/app/app.controller.ts index c36e5d4c7..2f3cc3564 100644 --- a/apps/admin-api/src/app/app.controller.ts +++ b/apps/admin-api/src/app/app.controller.ts @@ -5,19 +5,14 @@ import { Request } from 'express' import { AuthService } from '@admin-api/auth/auth.service' import { JwtAuthGuard } from '@admin-api/auth/oidc.guard' -import { SkipAuth } from '@admin-api/common/decorators/SkipAuth' import { AppService } from './app.service' @Controller() export class AppController { - constructor( - private readonly appService: AppService, - private readonly authService: AuthService - ) {} + constructor(private readonly appService: AppService, private readonly authService: AuthService) {} @Get() - @SkipAuth() getHello(): string { return this.appService.getHello() }