diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/captcha/HCaptchaResponse.java b/service/src/main/java/org/whispersystems/textsecuregcm/captcha/HCaptchaResponse.java index c3bd30cb6..39db8c755 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/captcha/HCaptchaResponse.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/captcha/HCaptchaResponse.java @@ -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 scoreReasons = Collections.emptyList(); public HCaptchaResponse() {