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
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue