Skip to content

Commit

Permalink
Ignore unknown properties in Plaid API JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
dvankley committed Oct 1, 2023
1 parent 9ec288d commit 3165f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
}

group = "net.djvk"
version = "1.0.7"
version = "1.0.8"
java.sourceCompatibility = JavaVersion.VERSION_17

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package net.djvk.fireflyPlaidConnector2.api.plaid.infrastructure

import com.fasterxml.jackson.core.util.DefaultIndenter
import com.fasterxml.jackson.core.util.DefaultPrettyPrinter
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.SerializationFeature
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
Expand Down Expand Up @@ -58,6 +59,7 @@ open class ApiClient(
})
registerModule(JavaTimeModule())
configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false)
configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
}
protected val UNSAFE_HEADERS = listOf<String>()
}
Expand Down

0 comments on commit 3165f7f

Please sign in to comment.