mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-09-05 18:14:43 +08:00
feature: tests
This commit is contained in:
+2
-2
@@ -4,9 +4,9 @@ var https = require('https')
|
||||
class Http {
|
||||
make(
|
||||
url: string,
|
||||
headers: string | null,
|
||||
body: string | null,
|
||||
ignoreCertificate: boolean | null
|
||||
headers: string | null = null,
|
||||
ignoreCertificate: boolean | null = false
|
||||
): Promise<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
fetch(
|
||||
|
||||
Reference in New Issue
Block a user