This commit is contained in:
isaconantonis 2023-08-02 11:13:50 +02:00
parent 3c8a7543bf
commit 6ba28a795c
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import { MongoClient, ServerApiVersion } from "mongodb"
const client = new MongoClient(process.env.MONGODB_URI, {
const client = new MongoClient(process.env.MONGODB_URI || '', {
serverApi: {
version: ServerApiVersion.v1,
strict: true,