Change Delete Parameter Name

This commit is contained in:
Samuel Lorch 2023-04-01 01:09:01 +02:00
parent 61ae805305
commit 9568adbd8e
2 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ async function apply(){
}
async function deleteInterface(){
let res = await apiCall("Network.DeleteInterface", {Interface: displayData[selection[0]].name});
let res = await apiCall("Network.DeleteInterface", {name: displayData[selection[0]].name});
if (res.Error === null) {
console.debug("deleted interface");
} else {