🐛 Fix processTelemetry endpoint not reachable
This commit is contained in:
@ -10,7 +10,7 @@ export const processTelemetryEvent = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'POST',
|
||||
path: '/t/process',
|
||||
path: '/v1/t/process',
|
||||
description:
|
||||
"Only used for the cloud version of Typebot. It's the way it processes telemetry events and inject it to thrid-party services.",
|
||||
tags: ['Telemetry'],
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { getAppVersionProcedure } from '@/features/dashboard/api/getAppVersionProcedure'
|
||||
import { processTelemetryEvent } from '@/features/telemetry/api/processTelemetryEvent'
|
||||
import { router } from '../trpc'
|
||||
import { generateUploadUrl } from '@/features/upload/api/generateUploadUrl'
|
||||
import { openAIRouter } from '@/features/blocks/integrations/openai/api/router'
|
||||
@ -8,7 +7,6 @@ import { zemanticAiRouter } from '@/features/blocks/integrations/zemanticAi/api/
|
||||
|
||||
export const internalRouter = router({
|
||||
getAppVersionProcedure,
|
||||
processTelemetryEvent,
|
||||
generateUploadUrl,
|
||||
whatsApp: whatsAppRouter,
|
||||
openAI: openAIRouter,
|
||||
|
@ -10,6 +10,7 @@ import { router } from '../trpc'
|
||||
import { analyticsRouter } from '@/features/analytics/api/router'
|
||||
import { collaboratorsRouter } from '@/features/collaboration/api/router'
|
||||
import { customDomainsRouter } from '@/features/customDomains/api/router'
|
||||
import { processTelemetryEvent } from '@/features/telemetry/api/processTelemetryEvent'
|
||||
|
||||
export const publicRouter = router({
|
||||
getLinkedTypebots,
|
||||
@ -23,6 +24,7 @@ export const publicRouter = router({
|
||||
theme: themeRouter,
|
||||
collaborators: collaboratorsRouter,
|
||||
customDomains: customDomainsRouter,
|
||||
processTelemetryEvent,
|
||||
})
|
||||
|
||||
export type PublicRouter = typeof publicRouter
|
||||
|
Reference in New Issue
Block a user