mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
430 B
PHTML
22 lines
430 B
PHTML
1 year ago
|
<?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;
|
||
|
}
|
||
|
}
|