@manyos/smileconnect-api 1.36.2 → 1.36.3

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.
Files changed (2) hide show
  1. package/app.js +3 -0
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -279,6 +279,9 @@ app.use('/v1/:ticketType/:parentId/worklogs', function(req, res, next) {
279
279
  req.ticketType = req.params.ticketType;
280
280
  const parentId = req.params.parentId;
281
281
  req.parentId = parentId;
282
+
283
+ //Add worklog to parent event base
284
+ req.parentEventBase = req.parentEventBase + '_Worklog'
282
285
  const allowedTypes = ['incidents', 'problems', 'workorders', 'changes'];
283
286
  if (allowedTypes.includes(req.ticketType)) {
284
287
  req.ticketConfig = config.ticketConfig[req.ticketType];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.36.2",
3
+ "version": "1.36.3",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {