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

Function getInvites

packages/db/src/services/organization.service.ts:70–79  ·  view source on GitHub ↗
(organizationId: string)

Source from the content-addressed store, hash-verified

68);
69
70export async function getInvites(organizationId: string) {
71 return db.invite.findMany({
72 where: {
73 organizationId,
74 },
75 orderBy: {
76 createdAt: 'desc',
77 },
78 });
79}
80
81export async function getInviteById(inviteId: string) {
82 const res = await db.invite.findUnique({

Callers 1

organization.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected