diff --git a/api/src/main/kotlin/com/wbrawner/twigs/RecurringTransactionsApi.kt b/api/src/main/kotlin/com/wbrawner/twigs/RecurringTransactionsApi.kt index 3d89b64..180bd06 100644 --- a/api/src/main/kotlin/com/wbrawner/twigs/RecurringTransactionsApi.kt +++ b/api/src/main/kotlin/com/wbrawner/twigs/RecurringTransactionsApi.kt @@ -23,7 +23,7 @@ data class RecurringTransactionResponse( val description: String?, val frequency: String, val start: String, - val finish: String? = null, + val finish: String?, val amount: Long?, val expense: Boolean?, val budgetId: String, @@ -37,7 +37,7 @@ fun RecurringTransaction.asResponse(): RecurringTransactionResponse = RecurringT description = description, frequency = frequency.toString(), start = start.toString(), - finish = finish.toString(), + finish = finish?.toString(), amount = amount, expense = expense, budgetId = budgetId,