mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-30 00:43:16 +00:00
21 lines
430 B
PHP
21 lines
430 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
use App\Services\Internal\SoftwareUpdateService;
|
|
|
|
class SoftwareUpdateController extends Controller
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->middleware('auth');
|
|
$this->middleware('admin');
|
|
}
|
|
|
|
public function getSoftwareUpdateCheck(Request $request)
|
|
{
|
|
$res = SoftwareUpdateService::get();
|
|
return $res;
|
|
}
|
|
}
|