mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-14 20:13:23 +00:00
fix: fixed fetch import
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
const github = require('@actions/github');
|
const github = require('@actions/github');
|
||||||
const fetch = require('node-fetch')
|
import fetch from 'node-fetch'
|
||||||
|
|
||||||
async function getContext () {
|
async function getContext () {
|
||||||
const payload = github.context.payload
|
const payload = github.context.payload
|
||||||
|
|||||||
Reference in New Issue
Block a user