update ct-templates and vm-isos endpoint paths
tronnet/workflows: Code Style -- Web Components / style-web (push) Successful in 14s

This commit is contained in:
alu
2026-09-14 18:53:45 +00:00
parent 77f26a3e2c
commit b92aabb052
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { requestPVE, requestAPI, goToPage, getURIData, setAppearance, setIconSrc, requestDash } from "./utils.js";
import { requestPVE, requestAPI, goToPage, getURIData, setAppearance, setIconSrc, requestDash, getCookie } from "./utils.js";
import { error, dialog } from "./dialog.js";
window.addEventListener("DOMContentLoaded", init);
@@ -221,7 +221,7 @@ async function handleCDAdd () {
}
});
const isos = await requestAPI("/user/vm-isos", "GET");
const isos = await requestAPI(`/access/users/${getCookie("username")}/vm-isos`, "GET");
const select = d.querySelector("#iso-select");
for (const iso of isos.data) {