mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-25 18:08:40 -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
@ -2845,6 +2845,7 @@ export class WAStartupService {
|
|||||||
let tempAudioPath: string;
|
let tempAudioPath: string;
|
||||||
let outputAudio: string;
|
let outputAudio: string;
|
||||||
|
|
||||||
|
number = number.replace(/\D/g, "");
|
||||||
const hash = `${number}-${new Date().getTime()}`;
|
const hash = `${number}-${new Date().getTime()}`;
|
||||||
this.logger.verbose('Hash to audio name: ' + hash);
|
this.logger.verbose('Hash to audio name: ' + hash);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user