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