Fixing repl options.
This commit is contained in:
parent
5f49d71b8b
commit
6243186db5
|
@ -41,7 +41,7 @@ export async function syncApp(
|
||||||
replOpts.filter = (doc: any) =>
|
replOpts.filter = (doc: any) =>
|
||||||
doc._id.startsWith(dbCore.DocumentType.AUTOMATION)
|
doc._id.startsWith(dbCore.DocumentType.AUTOMATION)
|
||||||
}
|
}
|
||||||
await replication.replicate()
|
await replication.replicate(replOpts)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
error = err
|
error = err
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue