(accountId: string)
| 54 | const orgHeaders = { [ORG_SELECTOR_HEADER]: ORG }; |
| 55 | |
| 56 | const session = (accountId: string) => ({ |
| 57 | accountId, |
| 58 | email: `${accountId}@example.test`, |
| 59 | name: null, |
| 60 | avatarUrl: null, |
| 61 | organizationId: ORG, |
| 62 | sealedSession: "sealed", |
| 63 | refreshedSession: null, |
| 64 | }); |
| 65 | |
| 66 | // Membership is read from the mirror, never from WorkOS: revoke makes no |
| 67 | // WorkOS call at all. |