diff --git a/index.js b/index.js index b36a77f..fe23256 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ sock.on('event', async (event) => { const startup = async () => { sock.connect().then(() => { console.log(sock.amiVersion) - sock.send({ + sock.getList({ action: 'DBGetTree', category: 'CF' }).then(async (response) => {