Skip to content

Commit

Permalink
fix: add skip auth in health check
Browse files Browse the repository at this point in the history
  • Loading branch information
khajornritdacha committed Sep 18, 2023
1 parent 947dd90 commit 40f3b78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/admin-api/src/app/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ 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'

Expand All @@ -16,6 +17,7 @@ export class AppController {
) {}

@Get()
@SkipAuth()
getHello(): string {
return this.appService.getHello()
}
Expand Down

0 comments on commit 40f3b78

Please sign in to comment.