MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / findAuthByEmail

Function findAuthByEmail

apps/web/services/users/index.ts:7–12  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

5export default UsersService;
6
7export const findAuthByEmail = async (email: string) => {
8 return await prisma.auths.findUnique({
9 where: { email },
10 include: { users: { include: { account: true } } },
11 });
12};
13
14export const createManyUsers = async (users: Prisma.usersCreateManyArgs) => {
15 return await prisma.users.createMany(users);

Callers 4

handlerFunction · 0.90
findAuthFunction · 0.90
userMethod · 0.90
authMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected