This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent 5bac5b6abc
commit fecc0e7981
13 changed files with 283 additions and 27 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export async function loadProfile(
return {
type: "load_profile_res",
format: 2,
format: req.format as any, // TS fart
name: profile.name,
profileId: profile.id,
lv: profile.lv,
+4
View File
@@ -6,6 +6,10 @@ export async function saveProfile(
w: Repositories,
req: SaveProfileRequest
): Promise<GenericResponse> {
console.log("*** PROFILE SAVE TEMPORARILY DISABLED ***");
return { type: "generic_res", status: 1 };
const now = new Date();
const profile = await w.profile().load(req.profileId);
const chara = await w.chara().load(req.profileId);