4 Replies
the error I am getting

You are calling .query on the t.router(...) instead of the procedure:

you need to call it in the
t.procedure
chain. I.e. after .input(...)
t.procedure
chain. I.e. after .input(...)