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

Function editLfgPost

packages/shared/src/features/lfg/graphql.ts:579–592  ·  view source on GitHub ↗
({
  id,
  input,
}: {
  id: string;
  input: LfgPostInput;
})

Source from the content-addressed store, hash-verified

577};
578
579export const editLfgPost = async ({
580 id,
581 input,
582}: {
583 id: string;
584 input: LfgPostInput;
585}): Promise<LfgPost> => {
586 const res = await gqlClient.request<{ editLfgPost: LfgPost }>(
587 EDIT_LFG_POST_MUTATION,
588 { id, input },
589 );
590
591 return res.editLfgPost;
592};
593
594export const deleteLfgPost = async (id: string): Promise<void> => {
595 await gqlClient.request(DELETE_LFG_POST_MUTATION, { id });

Callers 1

LfgComposerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected