MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / POST

Function POST

web/src/app/api/v1/gravity-index/route.ts:11–21  ·  view source on GitHub ↗
(req: NextRequest)

Source from the content-addressed store, hash-verified

9import { logger, loggerWithContext } from '@/util/logger'
10
11export async function POST(req: NextRequest) {
12 return postGravityIndex({
13 req,
14 getUserInfoFromApiKey,
15 logger,
16 loggerWithContext,
17 trackEvent,
18 fetch,
19 serverEnv: { GRAVITY_API_KEY: env.GRAVITY_API_KEY },
20 })
21}

Callers

nothing calls this directly

Calls 1

postGravityIndexFunction · 0.90

Tested by

no test coverage detected