diff --git a/worker/src/services/github.ts b/worker/src/services/github.ts index e5e0c11..1685612 100644 --- a/worker/src/services/github.ts +++ b/worker/src/services/github.ts @@ -64,17 +64,6 @@ export class Github extends BaseService { ); } - @reaction(ReactionType.CommentPR, ['owner', 'repo', 'pull_number', 'body']) - async commentPR(params: any): Promise { - let res = await this._github.pulls.createReviewComment({ - owner: params['owner'], repo: params['repo'], - pull_number: params['pull_number'], body: params['body'] - }); - return { - URL: res.url, - }; - } - @reaction(ReactionType.ClosePR, ['owner', 'repo', 'pull_number']) async closePR(params: any): Promise { await this._github.pulls.update({