Remove full list from debug
This commit is contained in:
parent
53fec894f7
commit
fd27047cbb
14
debug.js
14
debug.js
|
@ -19,13 +19,13 @@ const fpbx = new FreepbxManager({
|
||||||
dbPool: pool,
|
dbPool: pool,
|
||||||
});
|
});
|
||||||
|
|
||||||
fpbx.listExtensions()
|
// fpbx.listExtensions()
|
||||||
.then((extensions) => {
|
// .then((extensions) => {
|
||||||
console.log(JSON.stringify(extensions, null, 2));
|
// console.log(JSON.stringify(extensions, null, 2));
|
||||||
})
|
// })
|
||||||
.catch((err) => {
|
// .catch((err) => {
|
||||||
console.error(err);
|
// console.error(err);
|
||||||
});
|
// });
|
||||||
|
|
||||||
fpbx.getNextAvailableExtension()
|
fpbx.getNextAvailableExtension()
|
||||||
.then((extension) => {
|
.then((extension) => {
|
||||||
|
|
Loading…
Reference in a new issue