MCPcopy Index your code
hub / github.com/simstudioai/sim / authorized

Function authorized

apps/sim/app/api/tools/deployments/routes.test.ts:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58function authorized() {
59 return { allowed: true, status: 200, workflow: WORKFLOW_RECORD, workspacePermission: 'admin' }
60}
61
62function makePost(path: string, body: unknown) {
63 return createMockRequest('POST', body, {}, `http://localhost:3000/api/tools/deployments/${path}`)

Callers 1

routes.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected