From 813ee4de2caf34a7d2bf172f535f134d139b398d Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Tue, 14 Mar 2023 15:11:24 +0100 Subject: [PATCH] refactor: rename deprecated Prisma imports --- backend/src/auth/auth.service.ts | 2 +- backend/src/user/user.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/auth/auth.service.ts b/backend/src/auth/auth.service.ts index cd7f81ad..0e5470ca 100644 --- a/backend/src/auth/auth.service.ts +++ b/backend/src/auth/auth.service.ts @@ -6,7 +6,7 @@ import { } from "@nestjs/common"; import { JwtService } from "@nestjs/jwt"; import { User } from "@prisma/client"; -import { PrismaClientKnownRequestError } from "@prisma/client/runtime"; +import { PrismaClientKnownRequestError } from "@prisma/client/runtime/library"; import * as argon from "argon2"; import * as moment from "moment"; import { ConfigService } from "src/config/config.service"; diff --git a/backend/src/user/user.service.ts b/backend/src/user/user.service.ts index 53ceff48..cb8fa266 100644 --- a/backend/src/user/user.service.ts +++ b/backend/src/user/user.service.ts @@ -1,5 +1,5 @@ import { BadRequestException, Injectable } from "@nestjs/common"; -import { PrismaClientKnownRequestError } from "@prisma/client/runtime"; +import { PrismaClientKnownRequestError } from "@prisma/client/runtime/library"; import * as argon from "argon2"; import * as crypto from "crypto"; import { EmailService } from "src/email/email.service";