mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 03:05:41 +00:00
Fix api middleware call
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user