From 6fe526be6ef50ea7f371716cdb5ef8a90401c06a Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 14 Nov 2023 22:24:26 +0000 Subject: [PATCH] fix linting --- scripts/account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/account.js b/scripts/account.js index 5ed19d8..ff1df79 100644 --- a/scripts/account.js +++ b/scripts/account.js @@ -133,7 +133,7 @@ function handlePasswordChangeForm () { `; dialog("Change Password", body, async (result, form) => { if (result === "confirm") { - const result = await requestAPI("/auth/password", "POST", {password: form.get("new-password")}); + const result = await requestAPI("/auth/password", "POST", { password: form.get("new-password") }); if (result.status !== 200) { alert(result.error); }