fix optional param
This commit is contained in:
parent
4992f9e4ae
commit
4aba318c9b
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