fix optional param
This commit is contained in:
parent
12a733f556
commit
c0c0805aa3
2
utils.js
2
utils.js
@ -13,7 +13,7 @@ class NetworkError extends Error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function requestTicket (username, password) {
|
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();
|
let data = await response.json();
|
||||||
return data;
|
return data;
|
||||||
|
Loading…
Reference in New Issue
Block a user