Updated site to newest version

Changed order of speedtests table
This commit is contained in:
Henry Whitaker
2020-04-13 08:23:02 +01:00
parent e1ca4dcca9
commit 527135e412
3 changed files with 9 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ class SpeedtestController extends Controller
{
public function index()
{
$data = Speedtest::paginate();
$data = Speedtest::orderBy('id', 'desc')
->paginate();
return response()->json([
'method' => 'index of speedtests',

View File

@@ -1,4 +1,10 @@
{
"1.2.3": [
{
"description": "Changed order of speedtests table show the latest results first.",
"link": ""
}
],
"1.2.2": [
{
"description": "Added a table of all speedtests",

View File

@@ -7,7 +7,7 @@ return [
|--------------------------------------------------------------------------
*/
'version' => '1.2.2',
'version' => '1.2.3',
/*
|--------------------------------------------------------------------------