NextJS and Trpc understanding
Unanswered
Greenland Dog posted this in #help-forum
Greenland DogOP
Hell i don't get understand this concept:
const req = {} as NextApiRequest;
const res = {} as NextApiResponse;
const { accessToken, message, userDatabase } = await serverClient({
req,
res,
}).user.login({
email,
password,
});