refactor: global validation pipe (#7985)

* refactor: global validation pipe

* chore: formatting
This commit is contained in:
Jason Rasmussen 2024-03-15 12:51:08 -04:00 committed by GitHub
parent 5a6b71dda3
commit 2a0e1c0d3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 14 additions and 74 deletions

View file

@ -2,13 +2,11 @@ import { AssetFaceResponseDto, AuthDto, FaceDto, PersonResponseDto, PersonServic
import { Body, Controller, Get, Param, Put, Query } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import { Auth, Authenticated } from '../app.guard';
import { UseValidation } from '../app.utils';
import { UUIDParamDto } from './dto/uuid-param.dto';
@ApiTags('Face')
@Controller('face')
@Authenticated()
@UseValidation()
export class FaceController {
constructor(private service: PersonService) {}