forked from Cookies_Github_mirror/AquaDX
[+] CardMaker 1.39 support (#79)
This commit is contained in:
@@ -97,7 +97,7 @@ class ChusanServletController(
|
||||
|
||||
val noopEndpoint = endpointList.popAll("UpsertClientBookkeepingApi", "UpsertClientDevelopApi", "UpsertClientErrorApi",
|
||||
"UpsertClientSettingApi", "UpsertClientTestmodeApi", "CreateTokenApi", "RemoveTokenApi", "UpsertClientUploadApi",
|
||||
"MatchingServer/Ping", "PrinterLoginApi", "PrinterLogoutApi")
|
||||
"MatchingServer/Ping", "PrinterLoginApi", "PrinterLogoutApi", "Ping")
|
||||
|
||||
val members = this::class.declaredMemberProperties
|
||||
val handlers: Map<String, BaseHandler> = endpointList.associateWith { api ->
|
||||
|
||||
@@ -47,7 +47,7 @@ public class CMGetUserPreviewHandler implements BaseHandler {
|
||||
resultMap.put("userName", user.getUserName());
|
||||
resultMap.put("level", user.getLevel());
|
||||
resultMap.put("medal", user.getMedal());
|
||||
resultMap.put("lastDataVersion", "2.00.00"); //Hardcode due to outdated
|
||||
resultMap.put("lastDataVersion", user.getLastDataVersion());
|
||||
resultMap.put("isLogin", false);
|
||||
|
||||
String json = mapper.write(resultMap);
|
||||
|
||||
Reference in New Issue
Block a user