Adding slash incase couch URL doesn't contain.

This commit is contained in:
mike12345567 2021-12-10 16:44:58 +00:00
parent 56dd4bfe61
commit 846f8b5038
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