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

Function promotePost

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

Source from the content-addressed store, hash-verified

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

Callers 1

PostOptionButtonContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected