From a68d7e8c0b1559b8e0da5569c98fecbdaabc4e88 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 25 Nov 2024 14:15:10 +0100 Subject: [PATCH] fix: refs #7229 rollback --- back/methods/url/getByUser.js | 2 +- db/dump/fixtures.before.sql | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/back/methods/url/getByUser.js b/back/methods/url/getByUser.js index 9997794f8..dd4805182 100644 --- a/back/methods/url/getByUser.js +++ b/back/methods/url/getByUser.js @@ -26,7 +26,7 @@ module.exports = function(Self) { fields: ['appName', 'url'], where: { appName: {inq: appNames}, - environment: process.env.NODE_ENV ?? 'dev', + environment: process.env.NODE_ENV ?? 'development', } }; diff --git a/db/dump/fixtures.before.sql b/db/dump/fixtures.before.sql index 679d8e6cd..e5d5f53dc 100644 --- a/db/dump/fixtures.before.sql +++ b/db/dump/fixtures.before.sql @@ -3011,10 +3011,10 @@ INSERT INTO `vn`.`profileType` (`id`, `name`) INSERT INTO `salix`.`url` (`appName`, `environment`, `url`) VALUES - ('lilium', 'dev', 'http://localhost:9000/#/'), - ('hedera', 'dev', 'http://localhost:9090/'), - ('salix', 'dev', 'http://localhost:5000/#!/'), - ('docuware', 'dev', 'http://docuware'); + ('lilium', 'development', 'http://localhost:9000/#/'), + ('hedera', 'development', 'http://localhost:9090/'), + ('salix', 'development', 'http://localhost:5000/#!/'), + ('docuware', 'development', 'http://docuware'); INSERT INTO `vn`.`report` (`id`, `name`, `paperSizeFk`, `method`) VALUES