(userId: string, organizationId: string)
| 42 | }); |
| 43 | |
| 44 | const 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 | |
| 50 | const connectionNameForUser = (userId: string): string => |
| 51 | String(connectionIdentifier(`conn-${userId}`)); |