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
boolean success;
@JsonProperty(value = "challenge_ts")
@JsonProperty(value = "challenge-ts")
Duration challengeTs;
@JsonProperty
@ -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() {