feat: set the 'ok' and 'response' output for webhook requests

This commit is contained in:
@zimeg
2024-10-28 11:42:38 -07:00
parent f365ef8329
commit 30136d63f2
+3 -1
View File
@@ -27,7 +27,9 @@ export default class Webhook {
config.content.values,
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));
}
/**