no-floating-promises error when using TRPC query.
I have this query using TRPC but am getting the following error. I feel like I should be resolving the prommis and don't get why this is happening. At a quick glance can anyone give some guidance?
1 Reply
I got the error to go away. It was my use of finally on the 4th to last line. Chat-GPT told me to add it against my better judgement. My guess is that I can't close the db because I don't have access to the prisma connection at this point in the code.