fix linting
This commit is contained in:
parent
bce774d48c
commit
6fe526be6e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user