1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00
This commit is contained in:
Martin McKeaveney 2021-08-16 17:17:48 +01:00
parent 0bfbedac80
commit 2661d1c0b4
4 changed files with 6 additions and 4 deletions

View file

@ -314,4 +314,4 @@ exports.Replication = Replication
exports.getScopedConfig = getScopedConfig exports.getScopedConfig = getScopedConfig
exports.generateConfigID = generateConfigID exports.generateConfigID = generateConfigID
exports.getConfigParams = getConfigParams exports.getConfigParams = getConfigParams
exports.getScopedFullConfig = getScopedFullConfig exports.getScopedFullConfig = getScopedFullConfig

View file

@ -233,7 +233,9 @@ class QueryBuilder {
} }
async run() { async run() {
const url = `${getCouchUrl()}/${this.appId}/_design/database/_search/${SearchIndexes.ROWS}` const url = `${getCouchUrl()}/${this.appId}/_design/database/_search/${
SearchIndexes.ROWS
}`
const body = this.buildSearchBody() const body = this.buildSearchBody()
return await runQuery(url, body) return await runQuery(url, body)
} }

View file

@ -15,7 +15,7 @@ let POUCH_DB_DEFAULTS = {
auth: { auth: {
username: env.COUCH_DB_USERNAME, username: env.COUCH_DB_USERNAME,
password: env.COUCH_DB_PASSWORD, password: env.COUCH_DB_PASSWORD,
} },
} }
if (env.isTest()) { if (env.isTest()) {

View file

@ -10,7 +10,7 @@ let POUCH_DB_DEFAULTS = {
auth: { auth: {
username: env.COUCH_DB_USERNAME, username: env.COUCH_DB_USERNAME,
password: env.COUCH_DB_PASSWORD, password: env.COUCH_DB_PASSWORD,
} },
} }
if (env.isTest()) { if (env.isTest()) {