cal.com
cal.com copied to clipboard
[CAL-1514] Set the user session only on the endpoints where it is needed.
Currently the session is set in the default context of tRPC, this adds the session dependencies to all endpoints. Perhaps, the getServerSession function should be run only in AuthedProcedure, or add SessionProcedure that is in charge of setting the session in the context, in the endpoints where it is necessary.
From SyncLinear.com | CAL-1514