2
0

♻️ Add a test for internal waitUntil

This commit is contained in:
Baptiste Arnaud
2024-04-16 12:56:47 +02:00
parent 8d62898d15
commit 87f5d8515a
89 changed files with 1029 additions and 1154 deletions

View File

@@ -1,4 +1,5 @@
import { DefaultBotNotificationEmail, render } from '@typebot.io/emails'
import { render } from '@typebot.io/emails/render'
import DefaultSendEmailNotification from '@typebot.io/emails/templates/transactional/DefaultSendEmailNotification'
import {
AnswerInSessionState,
ChatLog,
@@ -253,11 +254,11 @@ const getEmailBody = async ({
})
return {
html: render(
<DefaultBotNotificationEmail
<DefaultSendEmailNotification
resultsUrl={`${env.NEXTAUTH_URL}/typebots/${typebot.id}/results`}
answers={omit(answers, 'submittedAt')}
/>
).html,
),
}
}