From 78e832cdbaca5427d418dc4e16901bda8a83e5a7 Mon Sep 17 00:00:00 2001 From: JC5 Date: Sat, 11 Oct 2025 15:23:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Auto=20commit=20for=20release=20?= =?UTF-8?q?'develop'=20on=202025-10-11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Api/V1/Requests/DateRangeRequest.php | 1 + app/Api/V1/Requests/DateRequest.php | 2 +- config/firefly.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Api/V1/Requests/DateRangeRequest.php b/app/Api/V1/Requests/DateRangeRequest.php index 2ed73be358..cb912f5293 100644 --- a/app/Api/V1/Requests/DateRangeRequest.php +++ b/app/Api/V1/Requests/DateRangeRequest.php @@ -43,6 +43,7 @@ class DateRangeRequest extends ApiRequest // set null values $this->attributes->set('start', null); $this->attributes->set('end', null); + return; } $start = $this->getCarbonDate('start')?->startOfDay(); diff --git a/app/Api/V1/Requests/DateRequest.php b/app/Api/V1/Requests/DateRequest.php index 9b8e8221d7..db74d86098 100644 --- a/app/Api/V1/Requests/DateRequest.php +++ b/app/Api/V1/Requests/DateRequest.php @@ -48,7 +48,7 @@ class DateRequest extends ApiRequest // if we also have a range, date must be in that range $start = $this->attributes->get('start'); $end = $this->attributes->get('end'); - if ($date instanceOf Carbon && $start instanceOf Carbon && $end instanceOf Carbon && !$date->between($start, $end)) { + if ($date instanceof Carbon && $start instanceof Carbon && $end instanceof Carbon && !$date->between($start, $end)) { $validator->errors()->add('date', (string)trans('validation.between_date')); } diff --git a/config/firefly.php b/config/firefly.php index dc7f378c56..e8b8df4e28 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -79,7 +79,7 @@ return [ // see cer.php for exchange rates feature flag. ], 'version' => 'develop/2025-10-11', - 'build_time' => 1760159380, + 'build_time' => 1760188898, 'api_version' => '2.1.0', // field is no longer used. 'db_version' => 28, // field is no longer used.