diff --git a/src/reporter.ts b/src/reporter.ts index c960339..d52f44d 100644 --- a/src/reporter.ts +++ b/src/reporter.ts @@ -141,7 +141,7 @@ export async function reportCheck( warnings: Array, ): Promise { const client = github.getOctokit(token, {userAgent: USER_AGENT}); - const reporter = new checks.CheckReporter(client, 'Security audit'); + const reporter = new checks.CheckReporter(client.rest, 'Security audit'); const stats = getStats(vulnerabilities, warnings); const summary = getSummary(stats);