2
0

feat(webhook): ️ Show linked typebots results in webhook sample

This commit is contained in:
Baptiste Arnaud
2022-04-21 09:18:35 -07:00
parent 937621ee07
commit 12f43cdb88
13 changed files with 249 additions and 88 deletions

View File

@ -0,0 +1 @@
export * from './utils'

View File

@ -1,13 +1,4 @@
import {
Typebot,
Answer,
VariableWithValue,
ResultWithAnswers,
PublicTypebot,
} from 'models'
import { NextApiRequest, NextApiResponse } from 'next'
import { parseResultHeader } from './results'
import { isDefined } from './utils'
export const methodNotAllowed = (res: NextApiResponse) =>
res.status(405).json({ message: 'Method Not Allowed' })

View File

@ -1,4 +1,4 @@
export * from './utils'
export * from './apiUtils'
export * from './api'
export * from './encryption'
export * from './results'