MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/credentials/[id]/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { type NextRequest, NextResponse } from 'next/server'
3import { updateWorkspaceCredentialContract } from '@/lib/api/contracts/credentials'
4import { getValidationErrorMessage, parseRequest } from '@/lib/api/server'

Callers

nothing calls this directly

Calls 9

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
performUpdateCredentialFunction · 0.90
performDeleteCredentialFunction · 0.90
formatCredentialResponseFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected