Skip to content

A free open source IT asset/license management system

Merge remote-tracking branch 'origin/develop'

snipe1a872b164310
diff --cc routes/api.php
index 1472d1d1dc,5bcf418c5e..0eb0d834cf
--- a/routes/api.php
+++ b/routes/api.php
@@@ -576,9 -576,8 +576,10 @@@ Route::group(['prefix' => 'v1', 'middle
// this would probably keep working with the resource route group, but the general practice is for
// the model name to be the parameter - and i think it's a good differentiation in the code while we convert the others.
Route::patch('/hardware/{asset}', [Api\AssetsController::class, 'update'])->name('api.assets.update');
+ Route::put('/hardware/{asset}', [Api\AssetsController::class, 'update'])->name('api.assets.put-update');
+ Route::put('/hardware/{asset}', [Api\AssetsController::class, 'update'])->name('api.assets.put-update');
+
Route::resource('hardware',
Api\AssetsController::class,
['names' => [