mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -06:00
fix: lint
This commit is contained in:
parent
fb41ab14e8
commit
d9aa111800
@ -979,7 +979,7 @@ export class BusinessStartupService extends ChannelStartupService {
|
||||
private async getIdMedia(mediaMessage: any) {
|
||||
const formData = new FormData();
|
||||
const media = mediaMessage.media || mediaMessage.audio;
|
||||
if (!media) throw new Error("Media or audio not found");
|
||||
if (!media) throw new Error('Media or audio not found');
|
||||
|
||||
const fileStream = createReadStream(media);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user