From 974112e6192f01094763783a0bafd9d0c1cf701d Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 7 Aug 2021 15:13:17 +0200 Subject: [PATCH] Governance Update Testing gov.prs 8 --- Client/httpInterface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 91a5ff9b7..4e753bc4d 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -1382,10 +1382,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE } else { console.log('[INFO] httpInterface -> Gov -> mergeGithubPullRequests -> Merge Succed -> Pull Request "' + pullRequest.title + '" successfully merged. -> mergeResponse.message = ' + mergeResponse.data.message) await sleep(GITHUB_API_WAITING_TIME) - await octokit.rest.pulls.createReviewComment({ + await octokit.rest.issues.createComment({ owner: owner, repo: repo, - pull_number: pullRequest.number, + issue_number: pullRequest.number, body: 'This Pull Request was automatically merged by Superalgos because it was detected that a Github Username modified its own User Profile plugin file and nothning else but that file. All validations ran were successfull.' }); continue