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

Function checkExistingHandle

packages/shared/src/graphql/squads.ts:1126–1132  ·  view source on GitHub ↗
(handle: string)

Source from the content-addressed store, hash-verified

1124};
1125
1126export const checkExistingHandle = async (handle: string): Promise<boolean> => {
1127 const req = await gqlClient.request(SQUAD_HANDE_AVAILABILITY_QUERY, {
1128 handle: handle.toLocaleLowerCase(),
1129 });
1130
1131 return req.sourceHandleExists;
1132};
1133
1134export const addPostToSquad =
1135 (requestMethod: typeof gqlClient.request) =>

Callers 1

findFreeSquadHandleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected