2
0

(api) Add CRUD typebot endpoints

Closes #320, closes #696
This commit is contained in:
Baptiste Arnaud
2023-08-17 09:39:11 +02:00
parent 019f72ac7e
commit 454d320c6b
78 changed files with 25014 additions and 1073 deletions

View File

@ -33,7 +33,7 @@ export const SharePage = () => {
const { showToast } = useToast()
const handlePublicIdChange = async (publicId: string) => {
updateTypebot({ publicId })
updateTypebot({ updates: { publicId } })
}
const publicId = typebot
@ -50,7 +50,7 @@ export const SharePage = () => {
}
const handleCustomDomainChange = (customDomain: string | null) =>
updateTypebot({ customDomain })
updateTypebot({ updates: { customDomain } })
const checkIfPathnameIsValid = (pathname: string) => {
const isCorrectlyFormatted =