Jaaneek
Jaaneek
Explore posts from servers
TtRPC
Created by Jaaneek on 1/31/2024 in #❓-help
TRPC not working on multi tenant app
I had a mistake in the code. I didn’t await/return a promise on mutations so they resolved too quickly and the query failed. It was hard to debug because it worked with local host and lambda functions but failed on vercel edge runtime, because they are killing the server as soon as the function ends. Lambda/local host lives beyond that so I couldn’t detect a problem there
7 replies