MCPcopy Create free account
hub / github.com/ShipSecAI/studio / requireOrganizationId

Method requireOrganizationId

backend/src/trace/trace.service.ts:45–51  ·  view source on GitHub ↗
(auth?: AuthContext | null)

Source from the content-addressed store, hash-verified

43 }
44
45 private requireOrganizationId(auth?: AuthContext | null): string {
46 const organizationId = auth?.organizationId;
47 if (!organizationId) {
48 throw new ForbiddenException('Organization context is required');
49 }
50 return organizationId;
51 }
52
53 private mapRecordToEvent(record: {
54 runId: string;

Callers 2

listMethod · 0.95
listSinceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected