soajs.controller 4.2.13 → 4.2.14

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/mw/mt/index.js +2 -1
  2. package/package.json +1 -1
package/mw/mt/index.js CHANGED
@@ -337,7 +337,8 @@ module.exports = (configuration) => {
337
337
  return next();
338
338
  });
339
339
  } else {
340
- req.headers.soajsinjectobj = JSON.stringify(injectObj);
340
+ let _h = JSON.stringify(injectObj);
341
+ req.headers.soajsinjectobj = Buffer.from(_h, 'ascii').toString('utf-8');
341
342
  return next();
342
343
  }
343
344
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "soajs.controller",
3
3
  "description": "soajs multi tenant API gateway",
4
- "version": "4.2.13",
4
+ "version": "4.2.14",
5
5
  "author": {
6
6
  "name": "soajs team",
7
7
  "email": "team@soajs.org"