style: format code with prettier agian
This commit is contained in:
@@ -41,9 +41,15 @@ export async function updateUser(formData: FormData): Promise<void> {
|
||||
if (!existing) return;
|
||||
|
||||
// users row — only existing, safe columns.
|
||||
const mailRaw = String(formData.get("mail") ?? "").normalize("NFC").trim();
|
||||
const motto = String(formData.get("motto") ?? "").normalize("NFC").slice(0, 127);
|
||||
const look = String(formData.get("look") ?? "").normalize("NFC").slice(0, 256);
|
||||
const mailRaw = String(formData.get("mail") ?? "")
|
||||
.normalize("NFC")
|
||||
.trim();
|
||||
const motto = String(formData.get("motto") ?? "")
|
||||
.normalize("NFC")
|
||||
.slice(0, 127);
|
||||
const look = String(formData.get("look") ?? "")
|
||||
.normalize("NFC")
|
||||
.slice(0, 256);
|
||||
const rank = toInt(formData.get("rank"), 1);
|
||||
const credits = toInt(formData.get("credits"), 0);
|
||||
const pixels = toInt(formData.get("pixels"), 0);
|
||||
|
||||
Reference in New Issue
Block a user