From 53631e8723e70b5273d03a995dbbc5d4fd8ab559 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 11 Dec 2022 15:07:44 -0800 Subject: [PATCH] fix instance populating --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 9bb7f01..cfc3e86 100644 --- a/index.js +++ b/index.js @@ -19,8 +19,8 @@ async function init () { let qemu = await request(`/nodes/${nodes.data[i].node}/qemu`, "GET", null); let lxc = await request(`/nodes/${nodes.data[i].node}/lxc`, "GET", null); - newNode.qemu = qemu; - newNode.lxc = lxc; + newNode.qemu = qemu.data; + newNode.lxc = lxc.data; nodeContainer.append(newNode); }