2
0

🚸 Rename "webhook" block to "HTTP request"

This commit is contained in:
Baptiste Arnaud
2024-02-16 12:04:25 +01:00
parent 8d50dc9dfa
commit 33cbb2b254
35 changed files with 165 additions and 154 deletions

View File

@ -1,7 +1,7 @@
import { ExecutableWebhook } from '@typebot.io/schemas'
import { ExecutableHttpRequest } from '@typebot.io/schemas'
export const executeWebhook = async (
webhookToExecute: ExecutableWebhook
webhookToExecute: ExecutableHttpRequest
): Promise<string> => {
const { url, method, body, headers } = webhookToExecute
try {