From 4b7d4d9022aa0834e93f8fff50c80c1e5a60bcd0 Mon Sep 17 00:00:00 2001 From: Kfir Dayan Date: Tue, 18 Apr 2023 21:07:47 +0300 Subject: [PATCH] convert to es6 --- src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index 809f530..3e9c301 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -3,7 +3,7 @@ import { MongoModule } from 'nest-mongodb' import { ApiModule } from './api/api.module'; import { CrawlerModule } from './crawler/crawler.module'; // import { DbModule } from './db/db.module'; -const dotenv = require('dotenv'); +import dotenv from 'dotenv'; dotenv.config();