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) => {