Skip to content

Commit

Permalink
Fix linting errors in backend
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-becker committed Jan 12, 2024
1 parent b4eccfa commit 901b2a6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/src/auditlog/dto/audit-log-filter.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IsArray, IsIn, IsOptional, IsString } from 'class-validator';
import { IsIn, IsOptional, IsString } from 'class-validator';
import { ApiPropertyOptional } from '@nestjs/swagger';
import {
Action,
Expand Down
4 changes: 0 additions & 4 deletions backend/src/auth/jwt/jwt-auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ import {
Post,
Query,
Req,
UnauthorizedException,
UseGuards,
} from '@nestjs/common';
import { JwtAuthService } from './jwt-auth.service';
import { RefreshJwtGuard } from './guards/refresh-auth.guard';
import { ApiBearerAuth, ApiHeader, ApiTags } from '@nestjs/swagger';
import { catchError, firstValueFrom } from 'rxjs';
import { AxiosError } from 'axios';
import { HttpService } from '@nestjs/axios';
import { ConfigService } from '@nestjs/config';
import { OAuthErrorData } from 'discord.js';

@Controller('auth')
@ApiTags('auth/jwt')
Expand Down
2 changes: 1 addition & 1 deletion backend/src/guild/moderation/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
UseGuards,
} from '@nestjs/common';
import { ApiBearerAuth, ApiOperation, ApiResponse } from '@nestjs/swagger';
import { ChannelType, Client, GuildMember, User } from 'discord.js';
import { ChannelType, Client, User } from 'discord.js';
import {
DiscordUser,
userResponseSchema,
Expand Down
1 change: 0 additions & 1 deletion backend/src/util/guards/is-mod.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
Injectable,
InternalServerErrorException,
Logger,
UnauthorizedException,
} from '@nestjs/common';
import { PrismaService } from '../../prisma.service';
import { Request } from 'express';
Expand Down

0 comments on commit 901b2a6

Please sign in to comment.