🚸 Rename "webhook" block to "HTTP request"
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import { z } from '../../../../zod'
|
||||
import { IntegrationBlockType } from '../constants'
|
||||
import { webhookBlockSchemas } from '../webhook'
|
||||
import { httpBlockSchemas } from '../webhook'
|
||||
|
||||
export const makeComBlockSchemas = {
|
||||
v5: webhookBlockSchemas.v5.merge(
|
||||
v5: httpBlockSchemas.v5.merge(
|
||||
z.object({
|
||||
type: z.enum([IntegrationBlockType.MAKE_COM]),
|
||||
})
|
||||
),
|
||||
v6: webhookBlockSchemas.v6.merge(
|
||||
v6: httpBlockSchemas.v6.merge(
|
||||
z.object({
|
||||
type: z.enum([IntegrationBlockType.MAKE_COM]),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user