mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
🐛 Fix import typebots
This commit is contained in:
parent
cb2430ba84
commit
a56dc49b2a
@ -37,6 +37,7 @@ const omittedProps = {
|
||||
resultsTablePreferences: true,
|
||||
selectedThemeTemplateId: true,
|
||||
publicId: true,
|
||||
spaceId: true,
|
||||
} as const;
|
||||
|
||||
const importingTypebotSchema = z.preprocess(
|
||||
@ -76,6 +77,7 @@ const migrateImportingTypebot = async (
|
||||
whatsAppCredentialsId: null,
|
||||
publicId: null,
|
||||
riskLevel: null,
|
||||
spaceId: null,
|
||||
} satisfies Partial<Typebot>;
|
||||
return (await migrateTypebot(fullTypebot)).typebot;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user