make node red req stream enumerable

This commit is contained in:
Debadutta Panda 2025-02-03 16:55:07 +05:30
parent 24334c5de5
commit 8748216c46

View File

@ -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();