Fixed code base

This commit is contained in:
Bhavik MacBook PRO 16 2023-04-23 17:14:01 +05:30
parent 696b91dabc
commit 144f8250d1
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View file

@ -39341,11 +39341,11 @@ async function run() {
if(sourceAt === 'github') {
// Reply to the review comment with the OpenAI response
const client = new github.GitHub(githubToken, {
const client = new github.getOctokit(githubToken, {
baseUrl: githubBaseURL
});
await client.issues.createComment({
await octokit.rest.issues.createComment({
owner: repoOwner,
repo: repoName,
issue_number: prNumber,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -155,11 +155,11 @@ async function run() {
if(sourceAt === 'github') {
// Reply to the review comment with the OpenAI response
const client = new github.GitHub(githubToken, {
const client = new github.getOctokit(githubToken, {
baseUrl: githubBaseURL
});
await client.issues.createComment({
await octokit.rest.issues.createComment({
owner: repoOwner,
repo: repoName,
issue_number: prNumber,