fix: change api root statusCode to 200 (#12362)

This commit is contained in:
Morgan authored and GitHub committed 2023-11-16 16:50:43 +00:00
1 parent a4c1df3658
commit 9029c5b4c4
1 file changed
+1 -1
+1 -1
View File
@@ -1,5 +1,5 @@
import type { NextApiRequest, NextApiResponse } from "next";
export default async function CalcomApi(_: NextApiRequest, res: NextApiResponse) {
res.status(201).json({ message: "Welcome to Cal.com API - docs are at https://developer.cal.com/api" });
res.status(200).json({ message: "Welcome to Cal.com API - docs are at https://developer.cal.com/api" });
}