From 5836c00eb159f0505a8dcce5f35b284efb341741 Mon Sep 17 00:00:00 2001 From: fbewivpjsbsby <132867585+fbewivpjsbsby@users.noreply.github.com> Date: Sun, 2 Jul 2023 04:12:21 -0600 Subject: [PATCH] Fixed can not open couchdb credentials. --- src/services/providers/helpers/couchdbHelper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/providers/helpers/couchdbHelper.js b/src/services/providers/helpers/couchdbHelper.js index 84eca0e79..a88b5ec21 100644 --- a/src/services/providers/helpers/couchdbHelper.js +++ b/src/services/providers/helpers/couchdbHelper.js @@ -21,8 +21,8 @@ const request = async (token, options = {}) => { url: utils.resolveUrl(baseUrl, '../_session'), withCredentials: true, body: { - name, - password, + name: name || '', + password: password || '', }, }); } catch (err) {