add await to config form request
This commit is contained in:
parent
daf93b2b32
commit
534c40d7a9
@ -11,6 +11,6 @@ async function init () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function populateForm (node, type, vmid) {
|
async function populateForm (node, type, vmid) {
|
||||||
let config = request(`/nodes/${node}/${type}/${vmid}/config`);
|
let config = await request(`/nodes/${node}/${type}/${vmid}/config`);
|
||||||
console.log(config);
|
console.log(config);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user