Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/billing/update-cost/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ Span } from
'@opentelemetry/api'
2
import
{ db } from
'@sim/db'
3
import
{ workspace } from
'@sim/db/schema'
4
import
{ createLogger } from
'@sim/logger'
Callers
nothing calls this directly
Calls
4
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
withIncomingGoSpan
Function · 0.90
updateCostInner
Function · 0.85
Tested by
no test coverage detected