From 5cf38207aebed65ff08b677319ed82fadc99bad4 Mon Sep 17 00:00:00 2001 From: Henry Le Grys Date: Tue, 16 Feb 2021 17:19:11 +0000 Subject: [PATCH] Fix XSTS error codes being missed due to Jackson weirdness --- .../com/skcraft/launcher/auth/microsoft/model/XstsError.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/launcher/src/main/java/com/skcraft/launcher/auth/microsoft/model/XstsError.java b/launcher/src/main/java/com/skcraft/launcher/auth/microsoft/model/XstsError.java index e008803..d279d42 100644 --- a/launcher/src/main/java/com/skcraft/launcher/auth/microsoft/model/XstsError.java +++ b/launcher/src/main/java/com/skcraft/launcher/auth/microsoft/model/XstsError.java @@ -1,6 +1,7 @@ package com.skcraft.launcher.auth.microsoft.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.annotation.JsonNaming; import lombok.Data; @@ -9,6 +10,7 @@ import lombok.Data; @JsonNaming(PropertyNamingStrategy.PascalCaseStrategy.class) @JsonIgnoreProperties(ignoreUnknown = true) public class XstsError { + @JsonProperty("XErr") private long xErr; private String message; private String redirect;