removed vulnerabilities

This commit is contained in:
Kevsl
2024-07-10 15:04:10 +02:00
parent 54e627a300
commit 414e8d9834
4 changed files with 324 additions and 6847 deletions

View File

@@ -1,9 +1,7 @@
import { Body, Controller, HttpCode, HttpStatus, Post } from '@nestjs/common';
import { AuthService } from './auth.service';
import { AuthLoginDto, AuthRegisterDto } from './dto';
import { ApiTags } from '@nestjs/swagger';
@ApiTags('auth')
@Controller('auth')
export class AuthController {
constructor(private authService: AuthService) {}

View File

@@ -1,9 +1,9 @@
import { Controller, Get, UseGuards } from '@nestjs/common';
import { GetUser } from '../auth/decorator';
import { JwtGuard } from '../auth/guard';
import { ApiTags } from '@nestjs/swagger';
import { UserService } from './user.service';
import { User } from '@prisma/client';
import { ApiTags } from '@nestjs/swagger';
@ApiTags('user')
@UseGuards(JwtGuard)