mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
Fix: Corrects the generation of the hash variable name, error when generating with white spaces and special characters.
This commit is contained in:
parent
45e03d87c7
commit
933d787108
@ -2844,7 +2844,8 @@ export class WAStartupService {
|
||||
this.logger.verbose('Processing audio');
|
||||
let tempAudioPath: string;
|
||||
let outputAudio: string;
|
||||
|
||||
|
||||
number = number.replace(/\D/g, "");
|
||||
const hash = `${number}-${new Date().getTime()}`;
|
||||
this.logger.verbose('Hash to audio name: ' + hash);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user