We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e74a9fb commit 067e3f3Copy full SHA for 067e3f3
1 file changed
pages/api/workspace/[id]/settings/general/birthdays/test.ts
@@ -1,8 +1,8 @@
1
import { NextApiRequest, NextApiResponse } from "next";
2
-import { withAuth } from "@/lib/withAuth";
+import { AuthenticatedRequest, withAuth } from "@/lib/withAuth";
3
import prisma from "@/utils/database";
4
5
-async function handler(req: NextApiRequest, res: NextApiResponse) {
+async function handler(req: AuthenticatedRequest, res: NextApiResponse) {
6
if (req.method !== "POST") {
7
return res
8
.status(405)
0 commit comments