Update field names in HCaptchaResponse
This commit is contained in:
parent
9ef6f8aec9
commit
42d4574213
|
@ -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-reasons")
|
@JsonProperty(value = "score_reason")
|
||||||
List<String> scoreReasons = Collections.emptyList();
|
List<String> scoreReasons = Collections.emptyList();
|
||||||
|
|
||||||
public HCaptchaResponse() {
|
public HCaptchaResponse() {
|
||||||
|
|
Loading…
Reference in New Issue