MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / findUsersByExternalId

Method findUsersByExternalId

apps/web/services/users/users.ts:152–165  ·  view source on GitHub ↗
({
    accountId,
    externalIds,
  }: {
    accountId: string;
    externalIds: string[];
  })

Source from the content-addressed store, hash-verified

150 });
151 }
152 static async findUsersByExternalId({
153 accountId,
154 externalIds,
155 }: {
156 accountId: string;
157 externalIds: string[];
158 }) {
159 return await prisma.users.findMany({
160 where: {
161 externalUserId: { in: externalIds },
162 account: { id: accountId },
163 },
164 });
165 }
166}

Callers 2

findUsersFunction · 0.80
getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected