MCPcopy Create free account
hub / github.com/dailydotdev/apps / getSquadInvitation

Function getSquadInvitation

packages/shared/src/graphql/squads.ts:645–660  ·  view source on GitHub ↗
(
  token: string,
)

Source from the content-addressed store, hash-verified

643}
644
645export const getSquadInvitation = async (
646 token: string,
647): Promise<SourceMember | null> => {
648 try {
649 const res = await gqlClient.request<SquadInvitation>(
650 SQUAD_INVITATION_QUERY,
651 {
652 token,
653 },
654 );
655
656 return res.member;
657 } catch (err) {
658 return null;
659 }
660};
661
662export const joinSquadInvitation = async (
663 params: SquadInvitationProps,

Callers 2

SquadReferralFunction · 0.90
getStaticPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected