@tiledesk/tiledesk-server 2.10.21 → 2.10.22

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.10.22
9
+ - Test versione (Alert)
10
+
8
11
  # 2.10.21
9
12
  - Added catch blocks where necessary (improves error management)
10
13
 
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.10.21",
4
+ "version": "2.10.22",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
package/routes/request.js CHANGED
@@ -420,7 +420,12 @@ router.put('/:requestid/participants', function (req, res) {
420
420
  // TODO make a synchronous chat21 version (with query parameter?) with request.support_group.created
421
421
  router.delete('/:requestid/participants/:participantid', function (req, res) {
422
422
  winston.debug(req.body);
423
-
423
+ console.log("\n/:requestid/participants/:participantid");
424
+ console.log("Body:", req.body);
425
+ console.log("Headers:", req.headers);
426
+ console.log("Full URL:", `${req.protocol}://${req.get('host')}${req.originalUrl}`);
427
+ console.log("Requestid:", req.params.requestid);
428
+ console.log("Participantid:", req.params.participantid);
424
429
  //removeParticipantByRequestId(request_id, id_project, member)
425
430
  return requestService.removeParticipantByRequestId(req.params.requestid, req.projectid, req.params.participantid).then(function (updatedRequest) {
426
431