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

Method updateTenant

apps/web/services/users/users.ts:54–67  ·  view source on GitHub ↗
({
    authId,
    accountId,
  }: {
    authId: string;
    accountId: string;
  })

Source from the content-addressed store, hash-verified

52 });
53 }
54 static async updateTenant({
55 authId,
56 accountId,
57 }: {
58 authId: string;
59 accountId: string;
60 }) {
61 await prisma.auths.update({
62 where: {
63 id: authId,
64 },
65 data: { accountId },
66 });
67 }
68 static async getUserById(id: string) {
69 return await prisma.auths.findUnique({
70 where: { id },

Callers 1

handlerFunction · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected