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

Function deletePost

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

Source from the content-addressed store, hash-verified

638 });
639
640export const deletePost = (id: string): Promise<EmptyResponse> => {
641 return gqlClient.request(DELETE_POST_MUTATION, {
642 id,
643 });
644};
645
646export const clickbaitPost = (id: string): Promise<EmptyResponse> =>
647 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