mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Feature: Added API route for asset label generation
This commit is contained in:
parent
66d6b01307
commit
5639a84d90
|
@ -1282,4 +1282,14 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
], 404);
|
||||
}); // end fallback routes
|
||||
|
||||
/**
|
||||
* Generate label routes
|
||||
*/
|
||||
Route::post('hardware/labels', [
|
||||
Api\AssetsController::class,
|
||||
'getLabels'
|
||||
])->name('api.assets.labels');
|
||||
// end generate label routes
|
||||
|
||||
|
||||
}); // end API routes
|
||||
|
|
Loading…
Reference in a new issue