mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
make node red req stream enumerable
This commit is contained in:
parent
82740fd79c
commit
65cce8bf3b
3
packages/node_modules/node-red/red.js
vendored
3
packages/node_modules/node-red/red.js
vendored
@ -336,7 +336,8 @@ httpsPromise.then(function(startupHttps) {
|
||||
|
||||
// Attach the passThrough stream to the request
|
||||
Object.defineProperty(req, "_nodeRedReqStream", {
|
||||
value: passThrough
|
||||
value: passThrough,
|
||||
enumerable: true
|
||||
});
|
||||
|
||||
return next();
|
||||
|
Loading…
x
Reference in New Issue
Block a user