Skip to content

Commit 1fc7b3c

Browse files
committed
Connect to qrcode_test
1 parent 8b7a163 commit 1fc7b3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/server/mongodb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const uri = process.env.MONGODB_CONNECTION_STRING || "";
55
let cachedClient: MongoClient;
66
let cachedDbs: { [key: string]: Db } = {};
77

8-
export async function connectToDatabase(dbName: string = "qrcode") {
8+
export async function connectToDatabase(dbName: string = "qrcode_test") {
99
if (cachedClient && cachedDbs[dbName]) {
1010
return {
1111
client: cachedClient,

0 commit comments

Comments
 (0)