Fix require

This commit is contained in:
Adria Navarro 2024-07-04 11:14:02 +02:00
parent 8da83dac58
commit 1e3d0a3a49
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export function getPouch(url?: string) {
prefix: url,
}
}
const replicationStream = require("pouchdb-replication-stream")
const replicationStream = require("@budibase/pouchdb-replication-stream")
PouchDB.plugin(replicationStream.plugin)
// @ts-ignore
PouchDB.adapter("writableStream", replicationStream.adapters.writableStream)