Skip to content

Commit

Permalink
fix: maje ApplicationInfoData#interactionsEndpointUrl and #roleConnec…
Browse files Browse the repository at this point in the history
…tionsVerificationUrl return a Possible<Optional> to fix Discord4J/Discord4J#1243
  • Loading branch information
Azn9 committed Jul 19, 2024
1 parent 7f2c166 commit 9436343
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ static ImmutableApplicationInfoData.Builder builder() {
Possible<List<String>> redirectUris();

@JsonProperty("interactions_endpoint_url")
Possible<String> interactionsEndpointUrl();
Possible<Optional<String>> interactionsEndpointUrl(); // Use of both Possible and Optional due to https://github.com/Discord4J/Discord4J/issues/1243

@JsonProperty("role_connections_verification_url")
Possible<String> roleConnectionsVerificationUrl();
Possible<Optional<String>> roleConnectionsVerificationUrl(); // Use of both Possible and Optional due to https://github.com/Discord4J/Discord4J/issues/1243

Possible<List<String>> tags();

Expand Down

0 comments on commit 9436343

Please sign in to comment.