@tiledesk/tiledesk-server 2.2.29 → 2.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.2.29",
4
+ "version": "2.2.30",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
package/routes/project.js CHANGED
@@ -382,21 +382,21 @@ router.get('/', [passport.authenticate(['basic', 'jwt'], { session: false }), va
382
382
 
383
383
 
384
384
  //organization: if third sub domain iterate and put only project with organization==subdomain otherwise remove projects with org
385
- winston.info("orgUtil.ORGANIZATION_ENABLED: " + orgUtil.ORGANIZATION_ENABLED);
385
+ winston.debug("orgUtil.ORGANIZATION_ENABLED: " + orgUtil.ORGANIZATION_ENABLED);
386
386
  if (orgUtil.ORGANIZATION_ENABLED == true ) {
387
387
 
388
388
  // winston.info("project_users", project_users);
389
- winston.info("project_users.length:"+ project_users.length);
389
+ winston.debug("project_users.length:"+ project_users.length);
390
390
 
391
391
  let org = orgUtil.getOrg(req);
392
- winston.info("org:"+ org);
392
+ winston.debug("org:"+ org);
393
393
 
394
394
  if (org!=undefined) {
395
- winston.info("org!=undefined");
395
+ winston.debug("org!=undefined");
396
396
 
397
397
  var project_users = project_users.filter(function (projectUser) {
398
398
  if (projectUser.id_project.organization && projectUser.id_project.organization === org ) {
399
- winston.info("keep");
399
+ winston.debug("keep");
400
400
  return true;
401
401
  }
402
402
  });
@@ -430,7 +430,7 @@ router.get('/', [passport.authenticate(['basic', 'jwt'], { session: false }), va
430
430
  }*/
431
431
  }
432
432
  } else {
433
- winston.info("no")
433
+ winston.debug("no")
434
434
  }
435
435
 
436
436