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

Function leaveSquad

packages/shared/src/graphql/squads.ts:949–952  ·  view source on GitHub ↗
(sourceId: string)

Source from the content-addressed store, hash-verified

947): Promise<EmptyResponse> => gqlClient.request(UNBLOCK_MEMBER_MUTATION, args);
948
949export const leaveSquad = (sourceId: string): Promise<void> =>
950 gqlClient.request(LEAVE_SQUAD_MUTATION, {
951 sourceId,
952 });
953
954export const demoteSelfSquadMember = (
955 sourceId: string,

Callers 3

useLeaveSquadFunction · 0.90
onLeaveSquadFunction · 0.85
SquadJoinButtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected