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

Function emailOf

e2e/cloud/billing-customer-provisioning.test.ts:30–30  ·  view source on GitHub ↗
(identity: Identity)

Source from the content-addressed store, hash-verified

28import type { Identity } from "../src/target";
29
30const emailOf = (identity: Identity): string => identity.credentials?.email ?? identity.label;
31
32/** The org the bearer is scoped to — the Autumn customer id every billing call
33 * is made against — read from the JWT's public claims. */

Calls

no outgoing calls

Tested by

no test coverage detected