From 5cae8a0f74b3c752b269f8695aeaf8b013344533 Mon Sep 17 00:00:00 2001 From: andrurodr Date: Mon, 7 Mar 2022 10:04:11 -0300 Subject: [PATCH] version --- lib/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index af41c2cd..f1aeaed3 100644 --- a/lib/main.js +++ b/lib/main.js @@ -34,7 +34,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getPayload = void 0; const core_1 = require("@actions/core"); const github = __importStar(require("@actions/github")); -const node_fetch_1 = __importDefault(require("node-fetch")); const format_1 = require("./format"); const input_1 = require("./input"); const utils_1 = require("./utils"); @@ -78,7 +77,7 @@ function wrapWebhook(webhook, payload) { if (proxy) { options = Object.assign(Object.assign({}, options), { agent: https_proxy_agent_1.default(proxy) }); } - yield node_fetch_1.default(webhook, options); + yield fetch(webhook, options); } catch (e) { if (e.response) {