dont try to create user database when connecting.

This commit is contained in:
Jason Kulatunga 2022-10-28 20:45:42 -07:00
parent f84cf6fd8c
commit 6dc835d080
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ export class PouchdbRepository implements IDatabaseRepository {
if(!this.current_user){
throw new Error("current user is required when initializing pouchdb within web-worker")
}
this.pouchDb = new PouchDB(this.getRemoteUserDb(this.current_user))
this.pouchDb = new PouchDB(this.getRemoteUserDb(this.current_user), {skip_setup: true})
return this.pouchDb
}