debug
This commit is contained in:
parent
8cbec3b8cc
commit
2511b717a3
|
@ -73,6 +73,9 @@ function initializeLocalDb(type: LocalDbType, refresh: () => void, user: AT.Ling
|
|||
? user.wordlistDbName
|
||||
: "";
|
||||
const password = "couchDbPassword" in user ? user.couchDbPassword : "";
|
||||
console.log("initializing db", type);
|
||||
console.log("using pwd", password);
|
||||
console.log({ user });
|
||||
const db = dbs[type];
|
||||
// only initialize the db if it doesn't exist or if it has a different name
|
||||
if ((!db) || (db.db?.name !== name)) {
|
||||
|
|
Loading…
Reference in New Issue