some fixes on helpers/middlewares

This commit is contained in:
Agusti Fernandez Pardo committed 2022-04-08 18:08:26 +02:00
1 parent fc3677631f
commit 9edc1dbd29
8 files changed
+29 -47

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
import { NextApiResponse } from "next";
export const getCalcomUserId = (res: NextApiResponse): number => res.getHeader("x-calcom-user-id") as number;