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.
- package/mw/mt/index.js +2 -1
- 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
|
-
|
|
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
|
}
|