Get rid of unneeded console.logs

This commit is contained in:
Christopher Cookman 2023-02-07 01:14:24 -07:00
parent 6216ea1f04
commit 4303e1fe06
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -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") {