mirror of
https://github.com/SKCraft/Launcher.git
synced 2025-01-07 19:29:03 +01:00
Fix XSTS error codes being missed due to Jackson weirdness
This commit is contained in:
parent
fec1eaacf4
commit
5cf38207ae
@ -1,6 +1,7 @@
|
|||||||
package com.skcraft.launcher.auth.microsoft.model;
|
package com.skcraft.launcher.auth.microsoft.model;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
|
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
|
||||||
import com.fasterxml.jackson.databind.annotation.JsonNaming;
|
import com.fasterxml.jackson.databind.annotation.JsonNaming;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@ -9,6 +10,7 @@ import lombok.Data;
|
|||||||
@JsonNaming(PropertyNamingStrategy.PascalCaseStrategy.class)
|
@JsonNaming(PropertyNamingStrategy.PascalCaseStrategy.class)
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
public class XstsError {
|
public class XstsError {
|
||||||
|
@JsonProperty("XErr")
|
||||||
private long xErr;
|
private long xErr;
|
||||||
private String message;
|
private String message;
|
||||||
private String redirect;
|
private String redirect;
|
||||||
|
Loading…
Reference in New Issue
Block a user