diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 957b7a10..0d02af79 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -101,7 +101,7 @@ class Node extends Application public function afterDispatch($response) { $callback = Reduce::after($this->_after); - return $callback($response); + return $callback(\request(), $response); }