We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b683e8 commit 4d0b2ecCopy full SHA for 4d0b2ec
src/dataproxy/worker/worker.ts
@@ -218,13 +218,10 @@ const dataProxy: DataProxyWorker = {
218
const pouchLink = getPouchLink(client)
219
if (pouchLink) {
220
const doctype = `${SHARED_DRIVE_FILE_DOCTYPE}-${driveId}`
221
- const options = {
222
- strategy: 'fromRemote',
223
- driveId,
224
- shouldStartReplication: true
225
- }
+ const replicationOptions = { strategy: 'fromRemote', driveId }
+ const options = { shouldStartReplication: true }
226
if (pouchLink.addDoctype) {
227
- pouchLink.addDoctype(doctype, options)
+ pouchLink.addDoctype(doctype, replicationOptions, options)
228
}
229
230
0 commit comments