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

@ -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()) {