mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Fix api middleware call
This commit is contained in:
parent
93a087b29a
commit
c08fe196c4
|
@ -77,7 +77,7 @@ class RouteServiceProvider extends ServiceProvider
|
|||
protected function mapApiRoutes()
|
||||
{
|
||||
Route::group([
|
||||
'middleware' => 'api',
|
||||
'middleware' => 'auth:api',
|
||||
'namespace' => $this->namespace,
|
||||
'prefix' => 'api',
|
||||
], function ($router) {
|
||||
|
|
Loading…
Reference in a new issue