connectinArgs.Database > connectinArgs.database typo (#6576)

This commit is contained in:
PTR 2024-12-02 15:06:58 +01:00 committed by GitHub
parent ce4217c346
commit f9228ad0eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
db.js
View File

@ -909,7 +909,7 @@ module.exports.CreateDB = function (parent, func) {
} else if (parent.args.postgres) {
// Postgres SQL
let connectinArgs = parent.args.postgres;
connectinArgs.Database = (databaseName = (connectinArgs.database != null) ? connectinArgs.database : 'meshcentral');
connectinArgs.database = (databaseName = (connectinArgs.database != null) ? connectinArgs.database : 'meshcentral');
let DatastoreTest;
obj.databaseType = DB_POSTGRESQL;