Skip to content

Commit

Permalink
Revert "Update field names in HCaptchaResponse"
Browse files Browse the repository at this point in the history
This reverts commit 42d4574.
  • Loading branch information
eager-signal committed Sep 13, 2024
1 parent d6e03f5 commit 8d129b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class HCaptchaResponse {
@JsonProperty
boolean success;

@JsonProperty(value = "challenge_ts")
@JsonProperty(value = "challenge-ts")
Duration challengeTs;

@JsonProperty
Expand All @@ -36,7 +36,7 @@ public class HCaptchaResponse {
@JsonProperty
float score;

@JsonProperty(value = "score_reason")
@JsonProperty(value = "score-reasons")
List<String> scoreReasons = Collections.emptyList();

public HCaptchaResponse() {
Expand Down

0 comments on commit 8d129b1

Please sign in to comment.