Merge pull request #355 from AlanMartines/main

Fix: Corrects the generation of the hash variable name
This commit is contained in:
Davidson Gomes 2024-01-11 12:57:17 -03:00 committed by GitHub
commit ba9f97bc3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2875,7 +2875,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);