Remove spammy log on /cdr
This commit is contained in:
parent
328a253484
commit
ac94504cad
1
index.js
1
index.js
|
@ -1343,7 +1343,6 @@ dcClient.on('interactionCreate', async interaction => {
|
||||||
// Generate the CSV
|
// Generate the CSV
|
||||||
const fields = ["calldate", "src", "dst", "duration", "disposition", "recordingfile"];
|
const fields = ["calldate", "src", "dst", "duration", "disposition", "recordingfile"];
|
||||||
const csv = json2csv(result);
|
const csv = json2csv(result);
|
||||||
console.log(JSON.stringify(result)) // debug
|
|
||||||
const buffer = Buffer.from(csv, 'utf-8');
|
const buffer = Buffer.from(csv, 'utf-8');
|
||||||
interaction.editReply({
|
interaction.editReply({
|
||||||
files: [
|
files: [
|
||||||
|
|
Loading…
Reference in a new issue