Skip to content

Commit

Permalink
#585 Register ObjectMapper modules so timestamps can be processed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochim Van Dijck authored and mc1arke committed Dec 31, 2022
1 parent 22ce707 commit 2a0d191
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public BitbucketClient createClient(AlmSettingDto almSettingDto, ProjectAlmSetti
private static ObjectMapper createObjectMapper() {
return new ObjectMapper()
.setSerializationInclusion(JsonInclude.Include.NON_NULL)
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
.findAndRegisterModules();
}

private static OkHttpClient.Builder createBaseClientBuilder(Supplier<OkHttpClient.Builder> builderSupplier) {
Expand Down

0 comments on commit 2a0d191

Please sign in to comment.