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

Function deletePost

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

Source from the content-addressed store, hash-verified

674 });
675
676export const deletePost = (id: string): Promise<EmptyResponse> => {
677 return gqlClient.request(DELETE_POST_MUTATION, {
678 id,
679 });
680};
681
682export const clickbaitPost = (id: string): Promise<EmptyResponse> =>
683 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