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

Function deletePost

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

Source from the content-addressed store, hash-verified

719 });
720
721export const deletePost = (id: string): Promise<EmptyResponse> => {
722 return gqlClient.request(DELETE_POST_MUTATION, {
723 id,
724 });
725};
726
727export const clickbaitPost = (id: string): Promise<EmptyResponse> =>
728 gqlClient.request(CLICKBAIT_POST_MUTATION, {

Callers 2

posts.spec.tsFile · 0.90
usePostMenuActionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected