Adding slash incase couch URL doesn't contain.

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

View File

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