diff --git a/index.js b/index.js index 1771fd20fe..c3d0c117f9 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const mergeArrayByName = require('./lib/mergeArrayByName') module.exports = ({ app: robot }, _, Settings = require('./lib/settings')) => { async function syncSettings (context, repo = context.repo()) { const config = await context.config('settings.yml', {}, { arrayMerge: mergeArrayByName }) - return Settings.sync(context.github, repo, config) + return Settings.sync(context.octokit, repo, config) } robot.on('push', async context => {