verify & fix

This commit is contained in:
AlexisinGit 2025-09-23 05:39:43 +08:00
parent b8fcccb2b7
commit 602a04d9ba

View File

@ -12,9 +12,9 @@ export const setAccountCheatController: RequestHandler = async (req, res) => {
if (payload.value == undefined) {
logger.warn(`[setAccountCheatController] set ${payload.key} to ${payload.value}`);
return
return;
}
inventory[payload.key] = payload.value as never;
await inventory.save();
res.end();