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

Function inOrg

e2e/cloud/support/session.ts:156–159  ·  view source on GitHub ↗
(identity: Identity, organizationId: string)

Source from the content-addressed store, hash-verified

154
155/** This identity, scoped to `organizationId` for the requests it makes. */
156export const inOrg = (identity: Identity, organizationId: string): Identity => ({
157 ...identity,
158 headers: { ...identity.headers, [ORG_SELECTOR_HEADER]: organizationId },
159});
160
161/** The caller's own account id — the `externalId` the admin plane reports and
162 * the users page renders in mono. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected