benfah
tRPC mutation finishes early
Hi everybody,
I'm currently trying to use a tRPC mutation I wrote to log in to supabase. After some trial and error I found out that my defined mutation somehow finishes early, meaning it doesn't wait for any awaits to finish and also does not respect the output of the function, which means the body of the tRPC mutation is always empty.
Does anyone know what I can do to make the mutation await the calls?
If anyone needs some other information just let me know!
Thanks!
1 replies