Add function to parse HTML to SSML

This commit is contained in:
Hongbo Wu
2022-08-16 22:15:44 +08:00
parent def8f28138
commit 447e413605
4 changed files with 101 additions and 103 deletions

View File

@ -327,14 +327,12 @@ export const enqueueSyncWithIntegration = async (
export const enqueueTextToSpeech = async (
userId: string,
pageId: string,
text: string
pageId: string
): Promise<string> => {
const { GOOGLE_CLOUD_PROJECT } = process.env
const payload = {
userId,
pageId,
text,
}
// If there is no Google Cloud Project Id exposed, it means that we are in local environment