⚡ Add API endpoint to update the typebot in ongoing chat session
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import { getUploadUrl } from '@/features/blocks/inputs/fileUpload/api/getUploadUrl'
|
||||
import { sendMessage } from '@/features/chat/api/sendMessage'
|
||||
import { router } from '../../trpc'
|
||||
import { updateTypebotInSession } from '@/features/chat/api/updateTypebotInSession'
|
||||
|
||||
export const appRouter = router({
|
||||
sendMessage,
|
||||
getUploadUrl,
|
||||
updateTypebotInSession,
|
||||
})
|
||||
|
||||
export type AppRouter = typeof appRouter
|
||||
|
||||
Reference in New Issue
Block a user