Adding slash incase couch URL doesn't contain.

This commit is contained in:
mike12345567 2021-12-10 16:44:58 +00:00
parent e1a527a4bb
commit a0bb13e5c0
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ exports.getAllDbs = async () => {
throw "Cannot connect to CouchDB instance"
}
}
let couchUrl = `${exports.getCouchUrl()}_all_dbs`
let couchUrl = `${exports.getCouchUrl()}/_all_dbs`
if (env.MULTI_TENANCY) {
let tenantId = getTenantId()
// get prod apps