update account to api change

This commit is contained in:
Arthur Lu 2024-10-02 22:58:30 +00:00
parent 7d64715c30
commit dc2dcf85cd

View File

@ -150,7 +150,7 @@ async function init () {
let userCluster = requestAPI("/user/config/cluster"); let userCluster = requestAPI("/user/config/cluster");
resources = await resources; resources = await resources;
meta = await meta; meta = (await meta).resources;
userCluster = await userCluster; userCluster = await userCluster;
document.querySelector("#username").innerText = `Username: ${getCookie("username")}`; document.querySelector("#username").innerText = `Username: ${getCookie("username")}`;