feat: set the 'ok' and 'response' output for webhook requests
This commit is contained in:
+3
-1
@@ -27,7 +27,9 @@ export default class Webhook {
|
|||||||
config.content.values,
|
config.content.values,
|
||||||
options,
|
options,
|
||||||
);
|
);
|
||||||
config.core.debug(JSON.stringify(response?.data));
|
config.core.setOutput("ok", response.status === 200);
|
||||||
|
config.core.setOutput("response", JSON.stringify(response));
|
||||||
|
config.core.debug(JSON.stringify(response));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user