fix circular dependency: remove unused AuthService from QrAuthService
This commit is contained in:
@@ -5,7 +5,6 @@ import { randomUUID } from 'node:crypto';
|
|||||||
import * as qrcode from 'qrcode';
|
import * as qrcode from 'qrcode';
|
||||||
import { PinoLogger } from 'nestjs-pino';
|
import { PinoLogger } from 'nestjs-pino';
|
||||||
import { PrismaService } from '../prisma/prisma.service';
|
import { PrismaService } from '../prisma/prisma.service';
|
||||||
import { AuthService } from '../auth/auth.service';
|
|
||||||
import { JwtPayload } from '../auth/strategies/jwt.strategy';
|
import { JwtPayload } from '../auth/strategies/jwt.strategy';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
@@ -14,7 +13,6 @@ export class QrAuthService {
|
|||||||
private readonly prisma: PrismaService,
|
private readonly prisma: PrismaService,
|
||||||
private readonly jwtService: JwtService,
|
private readonly jwtService: JwtService,
|
||||||
private readonly configService: ConfigService,
|
private readonly configService: ConfigService,
|
||||||
private readonly authService: AuthService,
|
|
||||||
private readonly logger: PinoLogger,
|
private readonly logger: PinoLogger,
|
||||||
) {
|
) {
|
||||||
this.logger.setContext(QrAuthService.name);
|
this.logger.setContext(QrAuthService.name);
|
||||||
|
|||||||
Reference in New Issue
Block a user