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

Function POST

web/src/app/api/v1/usage/route.ts:14–23  ·  view source on GitHub ↗
(req: NextRequest)

Source from the content-addressed store, hash-verified

12import { logger } from '@/util/logger'
13
14export async function POST(req: NextRequest) {
15 return postUsage({
16 req,
17 getUserInfoFromApiKey,
18 getUserUsageData,
19 getOrganizationUsageResponse,
20 trackEvent,
21 logger,
22 })
23}

Callers

nothing calls this directly

Calls 1

postUsageFunction · 0.90

Tested by

no test coverage detected