From 4e65f976062357a4ee43f4313c437e09ef3fb109 Mon Sep 17 00:00:00 2001 From: Marc Wrobel Date: Fri, 20 Oct 2023 22:45:27 +0200 Subject: [PATCH] Fix conferences retrieval (#161) A new field, closedCaptions, was added recently: https://github.com/scraly/developers-conferences-agenda/pull/675. --- CHANGELOG.md | 3 ++- .../java/com/lescastcodeurs/bot/conferences/Conference.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e106216..0f6e4c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixed +- Fix conferences retrieval (#161). + ### Deprecated ### Removed ### Internal - diff --git a/src/main/java/com/lescastcodeurs/bot/conferences/Conference.java b/src/main/java/com/lescastcodeurs/bot/conferences/Conference.java index d487f52..6839160 100644 --- a/src/main/java/com/lescastcodeurs/bot/conferences/Conference.java +++ b/src/main/java/com/lescastcodeurs/bot/conferences/Conference.java @@ -14,7 +14,7 @@ // Those fields are not used (but we still want this object to exactly reflect the expected JSON // structure). -@JsonIgnoreProperties({"cfp", "status"}) +@JsonIgnoreProperties({"cfp", "status", "closedCaptions"}) @SuppressWarnings("java:S6218") // don't care public record Conference(String name, String hyperlink, String location, long[] date, String misc) implements MarkdownSerializable {