Skip to content

Commit

Permalink
fix: no auth healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyoptimist committed May 17, 2024
1 parent fae9b72 commit 1b92be4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 1 addition & 9 deletions src/modules/auth/auth.controller.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
import {
Controller,
Body,
Post,
UseGuards,
Get,
Request,
} from '@nestjs/common';
import { Controller, Body, Post, Get, Request } from '@nestjs/common';
import { ApiResponse, ApiTags, ApiBearerAuth } from '@nestjs/swagger';
import { AuthService } from './auth.service';
import { SigninDto } from './dto/signin.dto';
import { SignupDto } from './dto/signup.dto';
import { JwtAuthGuard } from './passport/jwt.guard';
import { UserService } from '@modules/user/user.service';
import { IRequest } from '@modules/user/user.interface';
import { NoAuth } from '@modules/common/decorator/no-auth.decorator';
Expand Down
2 changes: 2 additions & 0 deletions src/modules/main/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Get, Controller, HttpStatus } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import { NoAuth } from '../common/decorator/no-auth.decorator';

@Controller()
@NoAuth()
@ApiTags('healthcheck')
export class AppController {
constructor() {}
Expand Down

0 comments on commit 1b92be4

Please sign in to comment.