MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / unlinkAccount

Function unlinkAccount

packages/web/src/lib/encryptedPrismaAdapter.ts:60–69  ·  view source on GitHub ↗
({ provider, providerAccountId })

Source from the content-addressed store, hash-verified

58 return (account?.user ?? null) as AdapterUser | null;
59 },
60 async unlinkAccount({ provider, providerAccountId }) {
61 await prisma.account.delete({
62 where: {
63 providerId_providerAccountId: {
64 providerId: provider,
65 providerAccountId,
66 },
67 },
68 });
69 },
70 };
71}
72

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected