MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / getUserById

Function getUserById

apps/webapp/app/models/user.server.ts:152–154  ·  view source on GitHub ↗
(id: User["id"])

Source from the content-addressed store, hash-verified

150}
151
152export async function getUserById(id: User["id"]) {
153 return prisma.user.findUnique({ where: { id } });
154}
155
156export async function getUserByEmail(email: User["email"]) {
157 return prisma.user.findUnique({ where: { email } });

Callers 2

getUserFunction · 0.90
requireUserFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…