From b681a417db47c6b833c452f7a72233d7bb9544e8 Mon Sep 17 00:00:00 2001 From: Nicu-Cosmin Ursache Date: Fri, 12 Aug 2022 11:47:29 +0300 Subject: [PATCH] pharmaledger-imi/epi-workspace#867 small bug fix --- components/requestForwarder/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/requestForwarder/index.js b/components/requestForwarder/index.js index 718012e..7006830 100644 --- a/components/requestForwarder/index.js +++ b/components/requestForwarder/index.js @@ -27,7 +27,7 @@ module.exports = function(server){ res.end(); } response.on("data", res.write); - res.on('end', res.end); + response.on('end', res.end); }); request.on("error", (err)=>{