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

Function deleteComment

packages/shared/src/graphql/comments.ts:230–237  ·  view source on GitHub ↗
(
  id: string,
  requestMethod: typeof gqlClient.request,
)

Source from the content-addressed store, hash-verified

228`;
229
230export const deleteComment = (
231 id: string,
232 requestMethod: typeof gqlClient.request,
233): Promise<EmptyResponse> => {
234 return requestMethod(DELETE_COMMENT_MUTATION, {
235 id,
236 });
237};
238
239export const COMMENT_BY_ID_QUERY = gql`
240 query Comment($id: ID!) {

Callers 5

comments.spec.tsFile · 0.90
useDeleteCommentFunction · 0.90
CommentFeedFunction · 0.85
PostCommentsFunction · 0.85
ActivityRepliesTabFunction · 0.85

Calls 1

requestMethodFunction · 0.85

Tested by

no test coverage detected