diff --git a/lib/tasks/dialogflow/index.js b/lib/tasks/dialogflow/index.js index 21ef569e..539c55c9 100644 --- a/lib/tasks/dialogflow/index.js +++ b/lib/tasks/dialogflow/index.js @@ -235,9 +235,8 @@ class Dialogflow extends Task { } try { - const {filePath, servedFromCache} = await this._fallbackSynthAudio(cs, intent, stats, synthAudio); + const {filePath} = await this._fallbackSynthAudio(cs, intent, stats, synthAudio); if (filePath) cs.trackTmpFile(filePath); - if (!this.ttsCredentials && !servedFromCache) cs.billForTts(intent.fulfillmentText.length); if (this.playInProgress) { await ep.api('uuid_break', ep.uuid).catch((err) => this.logger.info(err, 'Error killing audio'));