Skip to content

Commit

Permalink
Revert "fix: add skip auth to health check path"
Browse files Browse the repository at this point in the history
This reverts commit babd8e3.
  • Loading branch information
khajornritdacha committed Sep 18, 2023
1 parent babd8e3 commit c169e54
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/admin-api/src/app/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit c169e54

Please sign in to comment.