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

Function getUserById

packages/db/src/services/user.service.ts:5–11  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

3export type IServiceUser = Awaited<ReturnType<typeof getUserById>>;
4
5export async function getUserById(id: string) {
6 return db.user.findUniqueOrThrow({
7 where: {
8 id,
9 },
10 });
11}
12
13export async function getUserAccount({
14 email,

Callers 1

onboarding.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected