From 83d7c4b70251c1e543bfdeab76375a4865f52829 Mon Sep 17 00:00:00 2001 From: Diana Barsan <35681649+dianabarsan@users.noreply.github.com> Date: Wed, 15 May 2024 09:49:12 +0300 Subject: [PATCH] fix(#9117): use correct _users database name bump version to 4.7.1 --- api/src/services/setup/databases.js | 2 +- api/tests/mocha/services/setup/databases.spec.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/src/services/setup/databases.js b/api/src/services/setup/databases.js index 57781abb85d..f1d20efca38 100644 --- a/api/src/services/setup/databases.js +++ b/api/src/services/setup/databases.js @@ -34,7 +34,7 @@ const DATABASES = [ jsonFileName: 'users-meta.json', }, { - name: `${environment.db}-users`, + name: `_users`, db: db.users, jsonFileName: 'users.json', }, diff --git a/api/tests/mocha/services/setup/databases.spec.js b/api/tests/mocha/services/setup/databases.spec.js index 7b89a5fe784..aa277845e8b 100644 --- a/api/tests/mocha/services/setup/databases.spec.js +++ b/api/tests/mocha/services/setup/databases.spec.js @@ -40,7 +40,7 @@ describe('databases', () => { jsonFileName: 'users-meta.json', }, { - name: `thedb-users`, + name: `_users`, db: db.users, jsonFileName: 'users.json', }, diff --git a/package-lock.json b/package-lock.json index 2d51b78df2d..eb695818cea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "medic", - "version": "4.7.0", + "version": "4.7.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "medic", - "version": "4.7.0", + "version": "4.7.1", "hasInstallScript": true, "license": "AGPL-3.0-only", "workspaces": [ diff --git a/package.json b/package.json index b7a75c983ec..ed667abdd5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "medic", - "version": "4.7.0", + "version": "4.7.1", "private": true, "license": "AGPL-3.0-only", "repository": {