setAccountCheatController value type check

This commit is contained in:
AlexisinGit 2025-08-31 11:05:46 +08:00
parent e2a7368864
commit 68d028d6b4

View File

@ -14,5 +14,5 @@ export const setAccountCheatController: RequestHandler = async (req, res) => {
interface ISetAccountCheatRequest { interface ISetAccountCheatRequest {
key: keyof IAccountCheats; key: keyof IAccountCheats;
value: undefined; value: boolean | number;
} }