From bbc7ec08174c070f8eda16a6bf3357e8a5262e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Sun, 7 May 2023 13:36:55 +0200 Subject: [PATCH] fix: missing import for @hapi/joi (#274) Replaced the module in the dependencies but not in actual usage --- package.json | 1 - src/config/config.module.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index e283fad..dd3c6bc 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,6 @@ "@nestjs/testing": "9.4.0", "@types/cookie-parser": "1.4.3", "@types/express": "4.17.17", - "@types/hapi__joi": "17.1.9", "@types/jest": "29.5.1", "@types/lodash": "^4.14.194", "@types/long": "4.0.2", diff --git a/src/config/config.module.ts b/src/config/config.module.ts index 20cb1d6..a16621d 100644 --- a/src/config/config.module.ts +++ b/src/config/config.module.ts @@ -1,6 +1,6 @@ -import * as Joi from "@hapi/joi"; import { Module } from "@nestjs/common"; import { ConfigModule as NestConfigModule } from "@nestjs/config"; +import * as Joi from "joi"; @Module({ imports: [