Selaa lähdekoodia

Merge branch 'master' into olym

caiaolin 8 vuotta sitten
vanhempi
commit
ad0ba2bec1
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 1
      modules/ration_glj/facade/ration_glj_facade.js
  2. 1 0
      server.js

+ 1 - 1
modules/ration_glj/facade/ration_glj_facade.js

@@ -110,7 +110,7 @@ function get_lib_glj_info(ration_glj) {
 
 
 async function getInfoFromProjectGLJ(ration_glj) {
 async function getInfoFromProjectGLJ(ration_glj) {
      let data = {
      let data = {
-         glj_repository_id: ration_glj.glj_repository_id,
+         glj_id: ration_glj.glj_repository_id,
          project_id: ration_glj.projectID,
          project_id: ration_glj.projectID,
          code: ration_glj.code,
          code: ration_glj.code,
          name: ration_glj.name,
          name: ration_glj.name,

+ 1 - 0
server.js

@@ -39,6 +39,7 @@ app.use(session({
     secret: 'session users secret',
     secret: 'session users secret',
     cookie: {maxAge: 1000*60*30},
     cookie: {maxAge: 1000*60*30},
     resave: false,
     resave: false,
+    rolling: true,
     saveUninitialized: true
     saveUninitialized: true
     //*
     //*
     ,store: new DBStore({
     ,store: new DBStore({