mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-08-24 00:49:00 +08:00
Attempt to fix missing status code output
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
const fetch = require('node-fetch');
|
||||
|
||||
class Http {
|
||||
async make(url: string, headers: string, body: string): Promise<any> {
|
||||
make(url: string, headers: string, body: string): Promise<any> {
|
||||
return new Promise(() => {
|
||||
fetch(url, this.getOptions('post', headers, body));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user