Skip to content

A free open source IT asset/license management system

Added API middleware to API routes to enable throttling

snipef47b96056678
diff --git a/routes/api.php b/routes/api.php
index a5d4b1bb5a..c3d3598b0d 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -14,7 +14,7 @@ use Illuminate\Http\Request;
*/
-Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
+Route::group(['prefix' => 'v1','namespace' => 'Api', 'middleware' => 'api'], function () {
Route::group(['prefix' => 'account'], function () {
Route::get('requestable/hardware',