fix optional param

This commit is contained in:
Arthur Lu 2022-12-12 16:19:47 -08:00
parent 12a733f556
commit c0c0805aa3

View File

@ -13,7 +13,7 @@ class NetworkError extends Error {
}
export async function requestTicket (username, password) {
let response = await request("/access/ticket", "POST", {username: `${username}@pve`, password: password}, auth = false);
let response = await request("/access/ticket", "POST", {username: `${username}@pve`, password: password}, false);
let data = await response.json();
return data;