mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
wip
This commit is contained in:
parent
9650c71451
commit
60e01f3e64
@ -1,4 +1,4 @@
|
|||||||
const fetch = require('node-fetch')
|
import fetch from 'node-fetch';
|
||||||
var https = require('https')
|
var https = require('https')
|
||||||
|
|
||||||
class Http {
|
class Http {
|
||||||
@ -12,7 +12,7 @@ class Http {
|
|||||||
fetch(
|
fetch(
|
||||||
url,
|
url,
|
||||||
this.getOptions('post', headers, body, ignoreCertificate)
|
this.getOptions('post', headers, body, ignoreCertificate)
|
||||||
).then((res: Response) => resolve(res))
|
).then((res: any) => resolve(res))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user