2
0

fix: 🐛 Fix duplication when customDomain is set

This commit is contained in:
Baptiste Arnaud
2022-02-28 11:59:48 +01:00
parent cb51e6bd20
commit 33497b8766
8 changed files with 32 additions and 89 deletions

View File

@ -77,6 +77,7 @@ const parseTestTypebot = (partialTypebot: Partial<Typebot>): Typebot => ({
publicId: partialTypebot.id + '-public',
publishedTypebotId: null,
updatedAt: new Date(),
createdAt: new Date(),
customDomain: null,
variables: [{ id: 'var1', name: 'var1' }],
...partialTypebot,