(organizationId: string, userId: string)
| 126 | } |
| 127 | |
| 128 | export async function getMember(organizationId: string, userId: string) { |
| 129 | return db.member.findFirst({ |
| 130 | where: { |
| 131 | organizationId, |
| 132 | userId, |
| 133 | }, |
| 134 | }); |
| 135 | } |
| 136 | |
| 137 | export async function connectUserToOrganization({ |
| 138 | user, |
nothing calls this directly
no outgoing calls
no test coverage detected