refactor(server): auth route metadata (#9344)

This commit is contained in:
Jason Rasmussen
2024-05-09 13:58:44 -04:00
committed by GitHub
parent 34d8879d32
commit 8743e17528
33 changed files with 171 additions and 135 deletions

View File

@@ -7,11 +7,11 @@ import { AuditService } from 'src/services/audit.service';
@ApiTags('Audit')
@Controller('audit')
@Authenticated()
export class AuditController {
constructor(private service: AuditService) {}
@Get('deletes')
@Authenticated()
getAuditDeletes(@Auth() auth: AuthDto, @Query() dto: AuditDeletesDto): Promise<AuditDeletesResponseDto> {
return this.service.getDeletes(auth, dto);
}