Skip to content

Commit

Permalink
prebulish build
Browse files Browse the repository at this point in the history
  • Loading branch information
dawkaka committed Jan 31, 2024
1 parent 7a79c00 commit eb8d57f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/apitoolkit.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,8 @@ class APIToolkit {
};
const onRespFinishedCB = onRespFinished(__classPrivateFieldGet(this, _APIToolkit_topic, "f"), req, res);
res.on('finish', onRespFinishedCB);
res.on('error', (_err) => {
onRespFinishedCB(_err);
});
res.on('close', onRespFinishedCB);
res.on('error', onRespFinishedCB);
// res.on('close', onRespFinishedCB)
try {
next();
}
Expand Down

0 comments on commit eb8d57f

Please sign in to comment.