From 92b3576395523566687dcef61f5a87e99de50134 Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Sat, 15 Jan 2022 12:02:43 -0600 Subject: [PATCH] Fixes a route definition to correctly populate the deprecation report --- routes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.php b/routes/api.php index 508358f3d..52900baad 100644 --- a/routes/api.php +++ b/routes/api.php @@ -296,7 +296,7 @@ Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () { ); // end depreciations API routes - Route::post('reports/depreciation', + Route::get('reports/depreciation', [ Api\AssetsController::class, 'index'