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);