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

Function demotePost

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

Source from the content-addressed store, hash-verified

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

Callers 1

PostOptionButtonContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected