chore: minor typo (#13064)
This commit is contained in:
parent
ccda3fd71e
commit
50fb903ba6
|
@ -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" });
|
||||
|
|
Loading…
Reference in New Issue
Block a user