From 235f46067a7863f1d99f0871abc9f29446e564c6 Mon Sep 17 00:00:00 2001 From: Brian Schwartz Date: Tue, 2 Jul 2024 17:40:58 -0500 Subject: [PATCH] enums as well as properties --- .../fireflyPlaidConnector2/api/plaid/infrastructure/ApiClient.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/net/djvk/fireflyPlaidConnector2/api/plaid/infrastructure/ApiClient.kt b/src/main/kotlin/net/djvk/fireflyPlaidConnector2/api/plaid/infrastructure/ApiClient.kt index b6757bb..ccdf4ed 100644 --- a/src/main/kotlin/net/djvk/fireflyPlaidConnector2/api/plaid/infrastructure/ApiClient.kt +++ b/src/main/kotlin/net/djvk/fireflyPlaidConnector2/api/plaid/infrastructure/ApiClient.kt @@ -60,6 +60,7 @@ open class ApiClient( registerModule(JavaTimeModule()) configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false) configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false) + configure(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL, true) } protected val UNSAFE_HEADERS = listOf() }