TanStackT
TanStack11mo ago
3 replies
opposite-copper

server function call printing non-null within implementation, returning null from within API route

Hi--I have a server function that I'm calling from an API route, and when I log the return value in the API route it is null, however when I log from within the server function logic I see that it is returning non-null... how do I debug this?
Was this page helpful?