1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2025-01-05 19:09:03 +01:00

Fix XSTS error codes being missed due to Jackson weirdness

This commit is contained in:
Henry Le Grys 2021-02-16 17:19:11 +00:00
parent fec1eaacf4
commit 5cf38207ae

View File

@ -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;