From 9bb5b92ac6fa5de549416791790f925f64d23e1d Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Sun, 25 Jun 2023 14:31:53 +0200 Subject: [PATCH] test --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 842aca6..4d05958 100644 --- a/index.js +++ b/index.js @@ -78,7 +78,8 @@ async function vpnConnect(vpnName) { }, }); const res = await response.json(); - const ip = res.data.ip; + console.log(res); + const ip = res.ip; consoleLog(`[${host}] VPN connection successfully established to ${vpnName} (IP: ${ip.data}).`, 'info'); return 0; }