From 5ee5744ec91301e70017801bd153365c382ff09e Mon Sep 17 00:00:00 2001 From: extremeheat Date: Sat, 9 Mar 2024 15:46:17 -0500 Subject: [PATCH] Update update helper for gh-helpers v0.1 Handle breaking changes to API --- .github/helper-bot/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/helper-bot/index.js b/.github/helper-bot/index.js index 92317792..e1bf56ea 100644 --- a/.github/helper-bot/index.js +++ b/.github/helper-bot/index.js @@ -1,7 +1,7 @@ // Automatic version update checker for Minecraft bedrock edition. const fs = require('fs') const cp = require('child_process') -const helper = require('gh-helpers') +const helper = require('gh-helpers')() const latestVesionEndpoint = 'https://itunes.apple.com/lookup?bundleId=com.mojang.minecraftpe&time=' + Date.now() const changelogURL = 'https://feedback.minecraft.net/hc/en-us/sections/360001186971-Release-Changelogs' @@ -103,7 +103,7 @@ async function fetchLatest () { const title = `Support Minecraft ${result.version}` - const issueStatus = await helper.getIssueStatus(title) + const issueStatus = await helper.getIssueStatus({ title }) if (supportedVersions.includes(version)) { if (issueStatus.open) {