(identity: Identity, organizationId: string)
| 154 | |
| 155 | /** This identity, scoped to `organizationId` for the requests it makes. */ |
| 156 | export 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. */ |
nothing calls this directly
no outgoing calls
no test coverage detected