fixing replication handler.
This commit is contained in:
parent
ae9697331a
commit
53ab47531f
|
@ -378,7 +378,8 @@ export class PouchdbRepository implements IDatabaseRepository {
|
|||
return `${this.remotePouchEndpoint}/userdb-${this.toHex(username)}`
|
||||
}
|
||||
protected enableSync(userIdentifier: string){
|
||||
return this.replicationHandler = this.localPouchDb.sync(this.getRemoteUserDb(userIdentifier), {live: true, retry: true})
|
||||
this.replicationHandler = this.localPouchDb.sync(this.getRemoteUserDb(userIdentifier), {live: true, retry: true})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue