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