eee
This commit is contained in:
@@ -27,11 +27,6 @@ abstract class AbstractHandler
|
||||
*/
|
||||
public function __construct(public array $middlewares, public Handler $handler)
|
||||
{
|
||||
foreach (request()->middlewares as $middleware) {
|
||||
$middleware = \Kiri::getDi()->get($middleware);
|
||||
|
||||
array_unshift($this->middlewares, $middleware);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user