We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b7a163 commit 1fc7b3cCopy full SHA for 1fc7b3c
1 file changed
src/lib/server/mongodb.ts
@@ -5,7 +5,7 @@ const uri = process.env.MONGODB_CONNECTION_STRING || "";
5
let cachedClient: MongoClient;
6
let cachedDbs: { [key: string]: Db } = {};
7
8
-export async function connectToDatabase(dbName: string = "qrcode") {
+export async function connectToDatabase(dbName: string = "qrcode_test") {
9
if (cachedClient && cachedDbs[dbName]) {
10
return {
11
client: cachedClient,
0 commit comments