We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b37f70 commit a87b00bCopy full SHA for a87b00b
1 file changed
src/bot/Config.js
@@ -103,7 +103,7 @@ export class Config {
103
}
104
105
/** @type {DatabaseConfig} */
106
- let database = await this.#get('database', null, this.#parseBase64Json);
+ let database = await this.#get('database', {}, this.#parseBase64Json);
107
database.host ??= await this.#get(['database', 'host']);
108
database.user ??= await this.#get(['database', 'user'], "modbot");
109
database.password ??= await this.#get(['database', 'password']);
0 commit comments