chore: minor typo (#13064)

This commit is contained in:
Gabriel Hall authored and GitHub committed 2024-01-06 12:42:06 +00:00
1 parent ccda3fd71e
commit 50fb903ba6
1 file changed
+2 -2
+2 -2
View File
@@ -3,9 +3,9 @@ import type { NextApiRequest, NextApiResponse } from "next";
import isAuthorized from "@calcom/features/auth/lib/oAuthAuthorization";
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
const requriedScopes = ["READ_PROFILE"];
const requiredScopes = ["READ_PROFILE"];
const account = await isAuthorized(req, requriedScopes);
const account = await isAuthorized(req, requiredScopes);
if (!account) {
return res.status(401).json({ message: "Unauthorized" });