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

Function votePoll

packages/shared/src/graphql/posts.ts:1083–1090  ·  view source on GitHub ↗
(variables: {
  postId: string;
  optionId: string;
})

Source from the content-addressed store, hash-verified

1081`;
1082
1083export const votePoll = async (variables: {
1084 postId: string;
1085 optionId: string;
1086}): Promise<VotePollResponse> => {
1087 const res = await gqlClient.request(VOTE_POLL_MUTATION, variables);
1088
1089 return res.votePoll;
1090};
1091
1092export const CREATE_POLL_POST_MUTATION = gql`
1093 mutation CreatePollPost(

Callers 1

usePollFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected