wip
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user