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

Function deletePost

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

Source from the content-addressed store, hash-verified

721 });
722
723export const deletePost = (id: string): Promise<EmptyResponse> => {
724 return gqlClient.request(DELETE_POST_MUTATION, {
725 id,
726 });
727};
728
729export const clickbaitPost = (id: string): Promise<EmptyResponse> =>
730 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