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

Function demotePost

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

Source from the content-addressed store, hash-verified

716 });
717
718export const demotePost = (id: string): Promise<EmptyResponse> =>
719 gqlClient.request(DEMOTE_FROM_PUBLIC_MUTATION, {
720 id,
721 });
722
723export const deletePost = (id: string): Promise<EmptyResponse> => {
724 return gqlClient.request(DELETE_POST_MUTATION, {

Callers 1

PostOptionButtonContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected