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

Function join

apps/web/contexts/Join.tsx:39–46  ·  view source on GitHub ↗
({ communityId }: { communityId: string })

Source from the content-addressed store, hash-verified

37 }, [callbackUrl]);
38
39 async function join({ communityId }: { communityId: string }) {
40 return await fetch('/api/invites/join-button', {
41 method: 'post',
42 body: JSON.stringify({
43 communityId,
44 }),
45 });
46 }
47
48 const startSignUp = async (props: StartSignUpProps) => {
49 setFlow(props.flow || 'signup');

Callers 5

runFunction · 0.85
testFunction · 0.85
startSignUpFunction · 0.85
onSuccessfulSignInFunction · 0.85
createLinenCommunityFunction · 0.85

Calls

no outgoing calls

Tested by 1

testFunction · 0.68