🚸 (editor) Add graph gesture notification
This commit is contained in:
@@ -22,7 +22,7 @@ import { isCloudProdInstance } from '@/helpers/isCloudProdInstance'
|
||||
import { initPostHogIfEnabled } from '@/features/telemetry/posthog'
|
||||
import { TolgeeProvider, useTolgeeSSR } from '@tolgee/react'
|
||||
import { tolgee } from '@/lib/tolgee'
|
||||
import { Toaster } from 'sonner'
|
||||
import { Toaster } from '@/components/Toaster'
|
||||
|
||||
initPostHogIfEnabled()
|
||||
|
||||
@@ -63,8 +63,8 @@ const App = ({ Component, pageProps }: AppProps) => {
|
||||
return (
|
||||
<TolgeeProvider tolgee={ssrTolgee}>
|
||||
<ToastContainer />
|
||||
<Toaster />
|
||||
<ChakraProvider theme={customTheme}>
|
||||
<Toaster />
|
||||
<SessionProvider session={pageProps.session}>
|
||||
<UserProvider>
|
||||
<TypebotProvider typebotId={typebotId}>
|
||||
|
||||
@@ -2,7 +2,7 @@ import prisma from '@typebot.io/lib/prisma'
|
||||
import { NextApiRequest, NextApiResponse } from 'next'
|
||||
import { getAuthenticatedUser } from '@/features/auth/helpers/getAuthenticatedUser'
|
||||
import { methodNotAllowed, notAuthenticated } from '@typebot.io/lib/api'
|
||||
import { User } from '@typebot.io/prisma'
|
||||
import { Prisma, User } from '@typebot.io/prisma'
|
||||
|
||||
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
const user = await getAuthenticatedUser(req, res)
|
||||
@@ -18,6 +18,8 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
data: {
|
||||
...data,
|
||||
onboardingCategories: data.onboardingCategories ?? [],
|
||||
displayedInAppNotifications:
|
||||
data.displayedInAppNotifications ?? Prisma.DbNull,
|
||||
},
|
||||
})
|
||||
return res.send({ typebots })
|
||||
|
||||
Reference in New Issue
Block a user