mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 14:31:52 +01:00
Started building update functions out
This commit is contained in:
16
app/Http/Controllers/UpdateController.php
Normal file
16
app/Http/Controllers/UpdateController.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Helpers\UpdateHelper;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class UpdateController extends Controller
|
||||
{
|
||||
public function checkForUpdate()
|
||||
{
|
||||
return response()->json([
|
||||
'update' => UpdateHelper::check(),
|
||||
], 200);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user