From c38c75252079cb98e08c9fe89635a7fe3d85cf22 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 10 Sep 2025 20:42:15 +0200 Subject: [PATCH] Fix #10888 --- app/Support/JsonApi/Enrichments/RecurringEnrichment.php | 7 +++---- changelog.md | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php index 4b2249dc49..c8a3d8707a 100644 --- a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php +++ b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php @@ -162,15 +162,14 @@ class RecurringEnrichment implements EnrichmentInterface foreach ($set as $carbon) { $occurrences[] = $carbon->toAtomString(); } - $this->repetitions[$id][$repId] = [ 'id' => (string)$repId, 'created_at' => $repetition->created_at->toAtomString(), 'updated_at' => $repetition->updated_at->toAtomString(), 'type' => $repetition->repetition_type, - 'moment' => (string)$repetition->moment, - 'skip' => (int)$repetition->skip, - 'weekend' => RecurrenceRepetitionWeekend::from((int)$repetition->weekend), + 'moment' => (string)$repetition->repetition_moment, + 'skip' => (int)$repetition->repetition_skip, + 'weekend' => RecurrenceRepetitionWeekend::from((int)$repetition->weekend)->value, 'description' => $this->getRepetitionDescription($repetition), 'occurrences' => $occurrences, ]; diff --git a/changelog.md b/changelog.md index 0450ffffe8..5f7f819398 100644 --- a/changelog.md +++ b/changelog.md @@ -30,6 +30,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - [Issue 10853](https://github.com/firefly-iii/firefly-iii/issues/10853) (Failed to Send Discord Notification) reported by @pimonteiro - [Issue 10854](https://github.com/firefly-iii/firefly-iii/issues/10854) (string / null in budget causes budget page to not render) reported by @4e868df3 - [Discussion 10883](https://github.com/orgs/firefly-iii/discussions/10883) (Initial balance for account is missing from exported CSV) started by @ajaskiewiczpl +- #10888 ### API