feat(webhook): ⚡️ Show linked typebots results in webhook sample
This commit is contained in:
1
packages/utils/src/api/index.ts
Normal file
1
packages/utils/src/api/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './utils'
|
@ -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' })
|
@ -1,4 +1,4 @@
|
||||
export * from './utils'
|
||||
export * from './apiUtils'
|
||||
export * from './api'
|
||||
export * from './encryption'
|
||||
export * from './results'
|
||||
|
Reference in New Issue
Block a user