( userId: string, )
| 1059 | `; |
| 1060 | |
| 1061 | export const getBasicUserInfo = async ( |
| 1062 | userId: string, |
| 1063 | ): Promise<UserShortProfile> => { |
| 1064 | const res = await gqlClient.request(GET_REFERRING_USER_QUERY, { |
| 1065 | id: userId, |
| 1066 | }); |
| 1067 | |
| 1068 | return res.user || null; |
| 1069 | }; |
| 1070 | |
| 1071 | export const referringUserQueryOptions = (userId: string) => ({ |
| 1072 | queryKey: generateQueryKey(RequestKey.ReferringUser, undefined, userId), |
no outgoing calls
no test coverage detected