mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-09-04 21:46:59 +08:00
feature: tests
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ async function run() {
|
||||
|
||||
// make the request
|
||||
http
|
||||
.make(url, headers, body, insecure)
|
||||
.make(url, body, headers, insecure)
|
||||
.then(res => {
|
||||
// if the status code is not 2xx
|
||||
if (res.status >= 400) {
|
||||
|
||||
Reference in New Issue
Block a user