From 6bea66e7a5266a66a455be330750d6a05577a546 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Mon, 20 Sep 2021 19:48:43 -0600 Subject: [PATCH] Fix recurring transactions being created multiple times --- .../com/wbrawner/twigs/db/JdbcRecurringTransactionRepository.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/db/src/main/kotlin/com/wbrawner/twigs/db/JdbcRecurringTransactionRepository.kt b/db/src/main/kotlin/com/wbrawner/twigs/db/JdbcRecurringTransactionRepository.kt index a7b4693..34a2bb0 100644 --- a/db/src/main/kotlin/com/wbrawner/twigs/db/JdbcRecurringTransactionRepository.kt +++ b/db/src/main/kotlin/com/wbrawner/twigs/db/JdbcRecurringTransactionRepository.kt @@ -30,6 +30,7 @@ class JdbcRecurringTransactionRepository(dataSource: DataSource) : frequency = getString(Fields.FREQUENCY.name.lowercase()).asFrequency(), start = getInstant(Fields.START.name.lowercase())!!, finish = getInstant(Fields.FINISH.name.lowercase()), + lastRun = getInstant(Fields.LAST_RUN.name.lowercase()), amount = getLong(Fields.AMOUNT.name.lowercase()), expense = getBoolean(Fields.EXPENSE.name.lowercase()), createdBy = getString(Fields.CREATED_BY.name.lowercase()),