mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-25 13:00:01 -06:00
feat: convert audio with api
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user