Update redeliver-failed-deliveries.js

This commit is contained in:
garfield69 2024-05-29 15:32:14 +12:00 committed by GitHub
parent dc4cacfa02
commit d4076d2d65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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;