Test DBGet
This commit is contained in:
parent
0ddf6dac99
commit
db2e410ab5
6
index.js
6
index.js
|
|
@ -24,6 +24,12 @@ const cfTypes = {
|
||||||
const startup = async () => {
|
const startup = async () => {
|
||||||
sock.connect().then(() => {
|
sock.connect().then(() => {
|
||||||
console.log(sock.amiVersion)
|
console.log(sock.amiVersion)
|
||||||
|
sock.send({
|
||||||
|
action: 'DBGetTree',
|
||||||
|
category: 'CF'
|
||||||
|
}).then(async (response) => {
|
||||||
|
console.log(response)
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue