14 lines
279 B
PHP
14 lines
279 B
PHP
<?php
|
|
|
|
namespace IriksIT\Manager\Modules\Updates;
|
|
|
|
use IriksIT\Manager\Support\Changelog;
|
|
|
|
class UpdatesController
|
|
{
|
|
public function index()
|
|
{
|
|
return response()->json(['releases' => Changelog::releases(limit: (int) config('manager.updates.limit', 20))]);
|
|
}
|
|
}
|