Revert "Update field names in HCaptchaResponse"
This reverts commit 42d4574213
.
This commit is contained in:
parent
d6e03f50b9
commit
8d129b10ca
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue