@shushed/helpers 0.0.198-v2-20251113133839 → 0.0.198-v2-20251114083458
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -269,12 +269,12 @@ function createOnResponse(opts) {
|
|
|
269
269
|
return (config, options) => onResponse(config, options, opts.requiredFlag);
|
|
270
270
|
}
|
|
271
271
|
function onResponse(config, options, requiredFlag) {
|
|
272
|
-
options.logging.log('onResponse', config);
|
|
273
272
|
const triggerOutput = options.root[options.triggerId || options.trigger?.id];
|
|
274
273
|
const flags = triggerOutput?.flags;
|
|
275
274
|
const numberOfInputMessages = triggerOutput?.body?.length ?? 0;
|
|
276
275
|
const outputBody = config.outputs?.body;
|
|
277
276
|
const outputStatus = config.outputs?.status;
|
|
277
|
+
requiredFlag = config.config?.requiredFlag || requiredFlag;
|
|
278
278
|
let headersToSet = {};
|
|
279
279
|
if (outputBody?.headersToSet) {
|
|
280
280
|
headersToSet = outputBody.headersToSet;
|