chore: tech debt clearing - getServerSession has a dead arg: res (#19053)

* remove res from arg list in getServerSession

* remove res from all usages of getServerSession
This commit is contained in:
Benny Joo authored and GitHub committed 2025-02-03 00:12:42 -05:00
1 parent 15d6839985
commit f0dc3bba17
29 files changed
+42 -45

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ const defaultIntegrationAddHandler = async ({
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
// Check that user is authenticated
req.session = await getServerSession({ req, res });
req.session = await getServerSession({ req });
const { args, teamId } = req.query;