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

Function promotePost

packages/shared/src/graphql/posts.ts:711–714  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

709};
710
711export const promotePost = (id: string): Promise<EmptyResponse> =>
712 gqlClient.request(PROMOTE_TO_PUBLIC_MUTATION, {
713 id,
714 });
715
716export const demotePost = (id: string): Promise<EmptyResponse> =>
717 gqlClient.request(DEMOTE_FROM_PUBLIC_MUTATION, {

Callers 1

PostOptionButtonContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected