File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/api/integrations/channel/whatsapp Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2633,6 +2633,7 @@ export class BaileysStartupService extends ChannelStartupService {
26332633
26342634 public async processAudio ( audio : string ) : Promise < Buffer > {
26352635 if ( process . env . API_AUDIO_CONVERTER ) {
2636+ this . logger . verbose ( 'Using audio converter API' ) ;
26362637 const formData = new FormData ( ) ;
26372638
26382639 if ( isURL ( audio ) ) {
@@ -2652,6 +2653,7 @@ export class BaileysStartupService extends ChannelStartupService {
26522653 throw new InternalServerErrorException ( 'Failed to convert audio' ) ;
26532654 }
26542655
2656+ this . logger . verbose ( 'Audio converted' ) ;
26552657 return Buffer . from ( data . audio , 'base64' ) ;
26562658 } else {
26572659 let inputAudioStream : PassThrough ;
You can’t perform that action at this time.
0 commit comments