From ad4629cb038c5b47fb04053f48c6fa905644e386 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 5 Dec 2023 05:16:55 +0800 Subject: [PATCH] Fix UPTIME_KUMA_DB_NAME issue (#4169) --- server/setup-database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/setup-database.js b/server/setup-database.js index db1e9c156..483f2c9a4 100644 --- a/server/setup-database.js +++ b/server/setup-database.js @@ -74,7 +74,7 @@ class SetupDatabase { dbConfig.type = process.env.UPTIME_KUMA_DB_TYPE; dbConfig.hostname = process.env.UPTIME_KUMA_DB_HOSTNAME; dbConfig.port = process.env.UPTIME_KUMA_DB_PORT; - dbConfig.database = process.env.UPTIME_KUMA_DB_NAME; + dbConfig.dbName = process.env.UPTIME_KUMA_DB_NAME; dbConfig.username = process.env.UPTIME_KUMA_DB_USERNAME; dbConfig.password = process.env.UPTIME_KUMA_DB_PASSWORD; Database.writeDBConfig(dbConfig);