From 8f71fd343506506532c1a24a4c66a16b1021705f Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Wed, 8 Mar 2023 13:10:10 +0100 Subject: [PATCH] fix: crypto is not defined --- backend/src/user/user.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/user/user.service.ts b/backend/src/user/user.service.ts index fe3fc305..bf5fcf7a 100644 --- a/backend/src/user/user.service.ts +++ b/backend/src/user/user.service.ts @@ -1,6 +1,7 @@ import { BadRequestException, Injectable } from "@nestjs/common"; import { PrismaClientKnownRequestError } from "@prisma/client/runtime"; import * as argon from "argon2"; +import * as crypto from "crypto"; import { EmailService } from "src/email/email.service"; import { PrismaService } from "src/prisma/prisma.service"; import { CreateUserDTO } from "./dto/createUser.dto";