From b7570b26516886f5a5a77c1d586eb399426c3f10 Mon Sep 17 00:00:00 2001 From: JC5 Date: Sun, 26 Oct 2025 09:59:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Auto=20commit=20for=20release=20?= =?UTF-8?q?'develop'=20on=202025-10-26?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/MailError.php | 3 +++ config/firefly.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Jobs/MailError.php b/app/Jobs/MailError.php index b6f3c62416..42ad889244 100644 --- a/app/Jobs/MailError.php +++ b/app/Jobs/MailError.php @@ -127,6 +127,7 @@ class MailError extends Job implements ShouldQueue if (!file_exists($file)) { Log::debug(sprintf('Wrote new file in "%s"', $file)); + try { file_put_contents($file, json_encode($limits, JSON_PRETTY_PRINT)); } catch (FilesystemException $e) { @@ -137,6 +138,7 @@ class MailError extends Job implements ShouldQueue } if (file_exists($file)) { Log::debug(sprintf('Read file in "%s"', $file)); + try { $limits = json_decode(file_get_contents($file), true); } catch (FilesystemException $e) { @@ -171,6 +173,7 @@ class MailError extends Job implements ShouldQueue } ++$limits[$type]['sent']; } + try { file_put_contents($file, json_encode($limits, JSON_PRETTY_PRINT)); } catch (FilesystemException $e) { diff --git a/config/firefly.php b/config/firefly.php index f6cb1d02cf..c272582ab9 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-26', - 'build_time' => 1761467848, + 'build_time' => 1761469088, 'api_version' => '2.1.0', // field is no longer used. 'db_version' => 28, // field is no longer used.