(handle: string)
| 1151 | }; |
| 1152 | |
| 1153 | export const checkExistingHandle = async (handle: string): Promise<boolean> => { |
| 1154 | const req = await gqlClient.request(SQUAD_HANDE_AVAILABILITY_QUERY, { |
| 1155 | handle: handle.toLocaleLowerCase(), |
| 1156 | }); |
| 1157 | |
| 1158 | return req.sourceHandleExists; |
| 1159 | }; |
| 1160 | |
| 1161 | export const addPostToSquad = |
| 1162 | (requestMethod: typeof gqlClient.request) => |
no outgoing calls
no test coverage detected