Fixed that countDaysForWhichTransactionsAreKept may is null
This commit is contained in:
parent
7da0c989b2
commit
f426632e01
|
@ -105,7 +105,7 @@ class Mapper {
|
|||
|
||||
mapped.haveAllTransactionsBeenRetrieved = account.haveAllTransactionsBeenRetrieved
|
||||
mapped.isAccountTypeSupportedByApplication = account.isAccountTypeSupportedByApplication
|
||||
mapped.countDaysForWhichTransactionsAreKept = map(account.countDaysForWhichTransactionsAreKept)!
|
||||
mapped.countDaysForWhichTransactionsAreKept = map(account.countDaysForWhichTransactionsAreKept ?? 0)!
|
||||
|
||||
mapped.userSetDisplayName = account.userSetDisplayName
|
||||
mapped.displayIndex = account.displayIndex
|
||||
|
|
Loading…
Reference in New Issue