put userdb creation back in backend
This commit is contained in:
parent
25c17bb0bc
commit
642cd67678
|
@ -183,8 +183,8 @@ export async function addCouchDbAuthUser(
|
||||||
password,
|
password,
|
||||||
};
|
};
|
||||||
await usersDb.insert(authUser);
|
await usersDb.insert(authUser);
|
||||||
|
await nano.db.create(userDbName);
|
||||||
const userDb = nano.db.use(userDbName);
|
const userDb = nano.db.use(userDbName);
|
||||||
console.log("trying to add auth to the users db");
|
|
||||||
await userDb.insert(
|
await userDb.insert(
|
||||||
{
|
{
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
Loading…
Reference in New Issue