Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/tools/linear/teams/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ Team } from
'@linear/sdk'
2
import
{ LinearClient } from
'@linear/sdk'
3
import
{ createLogger } from
'@sim/logger'
4
import
{
type
NextRequest, NextResponse } from
'next/server'
Callers
nothing calls this directly
Calls
8
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
parseRequest
Function · 0.90
authorizeCredentialUse
Function · 0.90
refreshAccessTokenIfNeeded
Function · 0.90
fetchAllTeams
Function · 0.85
error
Method · 0.80
Tested by
no test coverage detected