diff --git a/.github/helper-bot/index.js b/.github/helper-bot/index.js index fb268d31f..6eaf6f00f 100644 --- a/.github/helper-bot/index.js +++ b/.github/helper-bot/index.js @@ -1,6 +1,6 @@ const fs = require('fs') const cp = require('child_process') -const helper = require('gh-helpers') +const helper = require('gh-helpers')() const pcManifestURL = 'https://launchermeta.mojang.com/mc/game/version_manifest.json' const changelogURL = 'https://feedback.minecraft.net/hc/en-us/sections/360001186971-Release-Changelogs' @@ -51,7 +51,7 @@ async function updateManifestPC () { const latestVersionIsSnapshot = latestVersionData.type !== 'release' const title = `Support Minecraft PC ${latestVersion}` - const issueStatus = await helper.getIssueStatus(title) + const issueStatus = await helper.getIssueStatus({ title }) if (latestVersionIsSnapshot) { // don't make issues for snapshots