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

Function votePoll

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

Source from the content-addressed store, hash-verified

1158`;
1159
1160export const votePoll = async (variables: {
1161 postId: string;
1162 optionId: string;
1163}): Promise<VotePollResponse> => {
1164 const res = await gqlClient.request(VOTE_POLL_MUTATION, variables);
1165
1166 return res.votePoll;
1167};
1168
1169export const CREATE_POLL_POST_MUTATION = gql`
1170 mutation CreatePollPost(

Callers 1

usePollFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected