mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
routes response refactoring
This commit is contained in:
@@ -13,7 +13,7 @@ class GetDashboardDataController extends Controller
|
||||
public function __invoke(): JsonResponse
|
||||
{
|
||||
// Get bandwidth data
|
||||
list($upload, $download, $uploadTotal, $downloadTotal, $storageUsage) = $this->getDiskData();
|
||||
[$upload, $download, $uploadTotal, $downloadTotal, $storageUsage] = $this->getDiskData();
|
||||
|
||||
// Get total earnings from transactions
|
||||
$totalEarnings = DB::table('transactions')
|
||||
|
||||
Reference in New Issue
Block a user