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

Function editPost

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected