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

Method getUserById

apps/web/services/users/users.ts:68–73  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

66 });
67 }
68 static async getUserById(id: string) {
69 return await prisma.auths.findUnique({
70 where: { id },
71 select: { email: true, id: true, users: true },
72 });
73 }
74 static async authorize(email: string, password: string) {
75 if (!email || !password) {
76 return null;

Callers 1

jwtMiddlewareFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected