TanStackT
TanStack14mo ago
10 replies
brilliant-lime

Possible to call a server function within an api route?

I can't get around this error: createServerFn must be called with a function that is marked with the 'use server' pragma. Are you using the @tanstack/start-vite-plugin
Was this page helpful?