MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / headersFor

Function headersFor

apps/host-selfhost/src/scope-isolation.test.ts:44–48  ·  view source on GitHub ↗
(userId: string, organizationId: string)

Source from the content-addressed store, hash-verified

42});
43
44const headersFor = (userId: string, organizationId: string): Record<string, string> => ({
45 "x-test-user": userId,
46 "x-test-org": organizationId,
47 "content-type": "application/json",
48});
49
50const connectionNameForUser = (userId: string): string =>
51 String(connectionIdentifier(`conn-${userId}`));

Callers 1

seedIdentityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected