Skip to content

A free open source IT asset/license management system

Fixes a route definition to correctly populate the deprecation report

Ivan Nieto Vivanco92b357639552
diff --git a/routes/api.php b/routes/api.php
index 508358f3d1..52900baada 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'