MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/chat/[identifier]/otp/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { db } from '@sim/db'
2import { chat } from '@sim/db/schema'
3import { createLogger } from '@sim/logger'
4import { and, eq, isNull } from 'drizzle-orm'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
getClientIpFunction · 0.90
createErrorResponseFunction · 0.90
parseRequestFunction · 0.90
isEmailAllowedFunction · 0.90
generateOTPFunction · 0.90
storeOTPFunction · 0.90
renderOTPEmailFunction · 0.90
sendEmailFunction · 0.90

Tested by

no test coverage detected