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

Function getUserLfgPost

packages/shared/src/features/lfg/graphql.ts:526–535  ·  view source on GitHub ↗
(
  userId: string,
)

Source from the content-addressed store, hash-verified

524};
525
526export 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
537export const getLfgPerson = async (id: string): Promise<LfgPerson | null> => {
538 const res = await gqlBatchRequest<{ user: LfgPerson | null }>(

Callers 1

userLfgPostQueryOptionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected