MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getMember

Function getMember

packages/db/src/services/organization.service.ts:128–135  ·  view source on GitHub ↗
(organizationId: string, userId: string)

Source from the content-addressed store, hash-verified

126}
127
128export async function getMember(organizationId: string, userId: string) {
129 return db.member.findFirst({
130 where: {
131 organizationId,
132 userId,
133 },
134 });
135}
136
137export async function connectUserToOrganization({
138 user,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected