feat: convert audio with api

This commit is contained in:
Davidson Gomes 2024-10-21 11:59:20 -03:00
parent e986768716
commit f9705c07dc

View File

@ -2644,6 +2644,7 @@ export class BaileysStartupService extends ChannelStartupService {
const { data } = await axios.post(process.env.API_AUDIO_CONVERTER, formData, { const { data } = await axios.post(process.env.API_AUDIO_CONVERTER, formData, {
headers: { headers: {
...formData.getHeaders(), ...formData.getHeaders(),
apikey: process.env.API_AUDIO_CONVERTER_KEY,
}, },
}); });