Revert "Update field names in HCaptchaResponse"

This reverts commit 42d4574213.
This commit is contained in:
Chris Eager 2024-09-13 15:22:44 -05:00
parent d6e03f50b9
commit 8d129b10ca
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public class HCaptchaResponse {
@JsonProperty @JsonProperty
boolean success; boolean success;
@JsonProperty(value = "challenge_ts") @JsonProperty(value = "challenge-ts")
Duration challengeTs; Duration challengeTs;
@JsonProperty @JsonProperty
@ -36,7 +36,7 @@ public class HCaptchaResponse {
@JsonProperty @JsonProperty
float score; float score;
@JsonProperty(value = "score_reason") @JsonProperty(value = "score-reasons")
List<String> scoreReasons = Collections.emptyList(); List<String> scoreReasons = Collections.emptyList();
public HCaptchaResponse() { public HCaptchaResponse() {