unnecessary code
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2022-09-30 08:59:49 +02:00
parent 203b223cc6
commit e931414bb7
3 changed files with 1 additions and 27 deletions

View File

@ -7,18 +7,6 @@ CREATE TABLE `vn`.`packingSiteConfig` (
PRIMARY KEY (`id`)
);
INSERT INTO `vn`.`packingSiteConfig` SET
shinobiUrl = 'https://shinobi.verdnatura.es',
shinobiToken = 'BW4o7FZyJ85she1hlRDe6QnwW3jwEP',
shinobiGroupKey = 'xVqft9LFXg',
avgBoxingTime = 6000;
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('Boxing', '*', '*', 'ALLOW', 'ROLE', 'employee');
SELECT e.id expeditionFk, e.ticketFk, ps.code, ps.monitorId
FROM expedition e
JOIN host h ON Convert(h.code USING utf8mb3) COLLATE utf8mb3_unicode_ci = e.hostFk
JOIN packingSite ps ON ps.hostFk = h.id
WHERE e.ticketFk = 1;

View File

@ -1,12 +0,0 @@
export default function lilium(route) {
const env = process.env.NODE_ENV;
let newRoute = 'https://localhost:8080/#/' + route;
if (env == 'test')
newRoute = 'https://test-lilium.verdnatura.es/#/' + route;
if (env == 'producction')
newRoute = 'https://lilium.verdnatura.es/#/' + route;
return newRoute;
}

View File

@ -55,9 +55,7 @@ export default class App {
}
}
getUrl(route, appName) {
if (!appName) appName = 'lilium';
getUrl(route, appName = 'lilium') {
const env = process.env.NODE_ENV;
const filter = {
where: {and: [