MCPcopy Create free account
hub / github.com/remix-run/react-router / deletePrComment

Function deletePrComment

scripts/utils/github.ts:236–241  ·  view source on GitHub ↗
(commentId: number)

Source from the content-addressed store, hash-verified

234 * Delete a comment on a PR
235 */
236export async function deletePrComment(commentId: number) {
237 await request("DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}", {
238 ...requestOptions(),
239 comment_id: commentId,
240 });
241}
242
243/**
244 * Add labels to a PR (or issue)

Callers 1

commentFunction · 0.90

Calls 2

requestOptionsFunction · 0.85
requestFunction · 0.50

Tested by

no test coverage detected