( userId: string, )
| 524 | }; |
| 525 | |
| 526 | export const getUserLfgPost = async ( |
| 527 | userId: string, |
| 528 | ): Promise<LfgPost | null> => { |
| 529 | const res = await gqlBatchRequest<{ userLfgPost: LfgPost | null }>( |
| 530 | USER_LFG_POST_QUERY, |
| 531 | { userId }, |
| 532 | ); |
| 533 | |
| 534 | return res.userLfgPost; |
| 535 | }; |
| 536 | |
| 537 | export const getLfgPerson = async (id: string): Promise<LfgPerson | null> => { |
| 538 | const res = await gqlBatchRequest<{ user: LfgPerson | null }>( |
no outgoing calls
no test coverage detected