From 846f8b5038c622e5230b0ae00d98ebbd053e4368 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 10 Dec 2021 16:44:58 +0000 Subject: [PATCH] Adding slash incase couch URL doesn't contain. --- packages/auth/src/db/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/auth/src/db/utils.js b/packages/auth/src/db/utils.js index 03c6e8e145..2bad09c306 100644 --- a/packages/auth/src/db/utils.js +++ b/packages/auth/src/db/utils.js @@ -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