mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
add update finish endpoints
This commit is contained in:
@ -127,6 +127,7 @@ Route::group(['middleware' => 'api'], function () {
|
||||
'middleware' => 'admin'
|
||||
], function () {
|
||||
|
||||
|
||||
// Auto update routes
|
||||
//----------------------------------
|
||||
Route::post('/update', [
|
||||
@ -134,6 +135,11 @@ Route::group(['middleware' => 'api'], function () {
|
||||
'uses' => 'UpdateController@update'
|
||||
]);
|
||||
|
||||
Route::post('/finish/update', [
|
||||
'as' => 'auto.finish.update',
|
||||
'uses' => 'UpdateController@finishUpdate'
|
||||
]);
|
||||
|
||||
Route::get('/check/update', [
|
||||
'as' => 'check.update',
|
||||
'uses' => 'UpdateController@checkLatestVersion'
|
||||
|
||||
Reference in New Issue
Block a user