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

Function editPost

packages/shared/src/graphql/posts.ts:950–956  ·  view source on GitHub ↗
(
  variables: Partial<EditPostProps>,
)

Source from the content-addressed store, hash-verified

948}
949
950export const editPost = async (
951 variables: Partial<EditPostProps>,
952): Promise<Post> => {
953 const res = await gqlClient.request(EDIT_POST_MUTATION, variables);
954
955 return res.editPost;
956};
957
958export const PIN_POST_MUTATION = gql`
959 mutation UpdatePinPost($id: ID!, $pinned: Boolean!) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected