We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c10680d commit e1de705Copy full SHA for e1de705
1 file changed
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -2633,6 +2633,7 @@ export class BaileysStartupService extends ChannelStartupService {
2633
2634
public async processAudio(audio: string): Promise<Buffer> {
2635
if (process.env.API_AUDIO_CONVERTER) {
2636
+ this.logger.verbose('Using audio converter API');
2637
const formData = new FormData();
2638
2639
if (isURL(audio)) {
@@ -2652,6 +2653,7 @@ export class BaileysStartupService extends ChannelStartupService {
2652
2653
throw new InternalServerErrorException('Failed to convert audio');
2654
}
2655
2656
+ this.logger.verbose('Audio converted');
2657
return Buffer.from(data.audio, 'base64');
2658
} else {
2659
let inputAudioStream: PassThrough;
0 commit comments