From d4076d2d655a3c6265d74115c585cc2cfe87c0bc Mon Sep 17 00:00:00 2001 From: garfield69 Date: Wed, 29 May 2024 15:32:14 +1200 Subject: [PATCH] Update redeliver-failed-deliveries.js --- .github/workflows/scripts/redeliver-failed-deliveries.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/redeliver-failed-deliveries.js b/.github/workflows/scripts/redeliver-failed-deliveries.js index 21fc59b1a..89023be9b 100644 --- a/.github/workflows/scripts/redeliver-failed-deliveries.js +++ b/.github/workflows/scripts/redeliver-failed-deliveries.js @@ -1,5 +1,5 @@ -// This script uses GitHub's Octokit SDK to make API requests. For more information, see "[AUTOTITLE](/rest/guides/scripting-with-the-rest-api-and-javascript)." -const { App, Octokit } = require("octokit"); +// This script uses GitHub's Octokit SDK to make API requests. For more information, see https://docs.github.com/en/rest/guides/scripting-with-the-rest-api-and-javascript?apiVersion=2022-11-28 +import { App, Octokit } from "octokit"; const sleep = ms => new Promise(r => setTimeout(r, ms)); let secondDelivery = true;