mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 01:18:04 +01:00
Update field names in HCaptchaResponse
This commit is contained in:
@@ -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-reasons")
|
||||
@JsonProperty(value = "score_reason")
|
||||
List<String> scoreReasons = Collections.emptyList();
|
||||
|
||||
public HCaptchaResponse() {
|
||||
|
||||
Reference in New Issue
Block a user