mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-08-24 00:49:00 +08:00
Add node-fetch
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const fetch = require('node-fetch');
|
||||
|
||||
class Http {
|
||||
async make(url: string, headers: string, body: string): Promise<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in New Issue
Block a user