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