Fix again

This commit is contained in:
2023-06-25 14:25:49 +02:00
parent 61291c068c
commit 310516ab48

View File

@@ -77,8 +77,7 @@ async function vpnConnect(vpnName) {
'Content-Type': 'application/json',
},
});
const ipResponse = await response.json();
const ip = ipResponse.data;
const ip = await response.json();
consoleLog(`[${host}] VPN connection successfully established to ${vpnName} (IP: ${ip.data}).`, 'info');
return 0;
}