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