fix linting

This commit is contained in:
Arthur Lu 2023-11-14 22:24:26 +00:00
parent bce774d48c
commit 6fe526be6e

View File

@ -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);
}