From 4196539169cd5105f47413b6438b579a54f80e42 Mon Sep 17 00:00:00 2001 From: hackerESQ Date: Thu, 21 Aug 2025 21:09:48 -0500 Subject: [PATCH] cleanup --- app/Models/DailyChange.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/DailyChange.php b/app/Models/DailyChange.php index c0a7130..59383cc 100644 --- a/app/Models/DailyChange.php +++ b/app/Models/DailyChange.php @@ -153,7 +153,7 @@ class DailyChange extends Model { return DB::table(DB::raw("({$query->toSql()}) AS daily_query")) ->addBinding($query->getQuery()->getBindings(), 'join') - ->select(['date']) + ->select('date') ->selectRaw('SUM(total_market_value) AS total_market_value') ->selectRaw('SUM(total_cost_basis) AS total_cost_basis') ->selectRaw('SUM(total_market_gain) AS total_market_gain')