MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / route.ts

File route.ts

packages/web/src/app/api/(server)/ee/oauth/register/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { oauthApiHandler } from '@/ee/features/oauth/apiHandler';
2import { requestBodySchemaValidationError, serviceErrorResponse } from '@/lib/serviceError';
3import { __unsafePrisma } from '@/prisma';
4import { hasEntitlement } from '@/lib/entitlements';

Callers

nothing calls this directly

Calls 4

oauthApiHandlerFunction · 0.90
hasEntitlementFunction · 0.90
serviceErrorResponseFunction · 0.90

Tested by

no test coverage detected