dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

fix:Middleware terminate() not being called #1485

Closed yangzuwei closed 6 years ago

yangzuwei commented 6 years ago

I try to fix the issue:https://github.com/dingo/api/issues/1275

yangzuwei commented 6 years ago

\vendor\dingo\api\src\Http\Middleware\Request.php:line 125 remove ->through($this->middleware),avoid execution twice