Skip to content

Firefly III: a personal finances manager

Drop transaction_type_id, rename transaction_type #2483

James Cole1f9fddaa3214
diff --git a/app/Transformers/RecurrenceTransformer.php b/app/Transformers/RecurrenceTransformer.php
index a1085c0f41..af45c685b4 100644
--- a/app/Transformers/RecurrenceTransformer.php
+++ b/app/Transformers/RecurrenceTransformer.php
@@ -97,8 +97,7 @@ class RecurrenceTransformer extends AbstractTransformer
'id' => (int)$recurrence->id,
'created_at' => $recurrence->created_at->toAtomString(),
'updated_at' => $recurrence->updated_at->toAtomString(),
- 'transaction_type_id' => $recurrence->transaction_type_id,
- 'transaction_type' => $shortType,
+ 'type' => $shortType,
'title' => $recurrence->title,
'description' => $recurrence->description,
'first_date' => $recurrence->first_date->format('Y-m-d'),