mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
feat: convert audio with api
This commit is contained in:
parent
e986768716
commit
f9705c07dc
@ -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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user