From 9436343a680f5deb862b99bebbc1ad0522217c2f Mon Sep 17 00:00:00 2001 From: Axel Joly Date: Fri, 19 Jul 2024 18:05:39 +0200 Subject: [PATCH] fix: maje ApplicationInfoData#interactionsEndpointUrl and #roleConnectionsVerificationUrl return a Possible to fix https://github.com/Discord4J/Discord4J/issues/1243 --- .../java/discord4j/discordjson/json/ApplicationInfoData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/discord4j/discordjson/json/ApplicationInfoData.java b/src/main/java/discord4j/discordjson/json/ApplicationInfoData.java index 30b1da07..81c0983a 100644 --- a/src/main/java/discord4j/discordjson/json/ApplicationInfoData.java +++ b/src/main/java/discord4j/discordjson/json/ApplicationInfoData.java @@ -84,10 +84,10 @@ static ImmutableApplicationInfoData.Builder builder() { Possible> redirectUris(); @JsonProperty("interactions_endpoint_url") - Possible interactionsEndpointUrl(); + Possible> interactionsEndpointUrl(); // Use of both Possible and Optional due to https://github.com/Discord4J/Discord4J/issues/1243 @JsonProperty("role_connections_verification_url") - Possible roleConnectionsVerificationUrl(); + Possible> roleConnectionsVerificationUrl(); // Use of both Possible and Optional due to https://github.com/Discord4J/Discord4J/issues/1243 Possible> tags();