Get rid of unneeded console.logs
This commit is contained in:
parent
6216ea1f04
commit
4303e1fe06
2
index.js
2
index.js
|
@ -7,7 +7,6 @@ const {
|
||||||
FreepbxGqlClient,
|
FreepbxGqlClient,
|
||||||
gql
|
gql
|
||||||
} = require("freepbx-graphql-client");
|
} = require("freepbx-graphql-client");
|
||||||
console.log(config.freepbx.clientid)
|
|
||||||
const pbxClient = new FreepbxGqlClient(config.freepbx.url, {
|
const pbxClient = new FreepbxGqlClient(config.freepbx.url, {
|
||||||
client: {
|
client: {
|
||||||
id: config.freepbx.clientid,
|
id: config.freepbx.clientid,
|
||||||
|
@ -241,7 +240,6 @@ dcClient.on('interactionCreate', async interaction => {
|
||||||
let ext = result.result;
|
let ext = result.result;
|
||||||
let name = interaction.user.tag;
|
let name = interaction.user.tag;
|
||||||
interaction.editReply(`Creating extension ${ext}...`)
|
interaction.editReply(`Creating extension ${ext}...`)
|
||||||
console.log(`Creating extension ${ext} for ${name} (${uid})`)
|
|
||||||
// Create the extension
|
// Create the extension
|
||||||
createExtension(ext, name, uid).then((result) => {
|
createExtension(ext, name, uid).then((result) => {
|
||||||
if (result.status == "created") {
|
if (result.status == "created") {
|
||||||
|
|
Loading…
Reference in a new issue