From 09a357dce3210b2983775d308cdbb8951062e646 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 3 Apr 2024 17:14:35 -0600 Subject: [PATCH] async, not await --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d1c713f..3e7f0ed 100644 --- a/index.js +++ b/index.js @@ -749,7 +749,7 @@ dcClient.on('ready', async () => { }); -sshConn.on('ready', await () => { +sshConn.on('ready', async () => { sendLog(`${colors.cyan("[INFO]")} SSH connection established`); console.log("Reloading PBX") reload().then((result) => {