feat: add .all support in auth arguments

This commit is contained in:
Ali BARIN
2022-11-10 00:12:09 +01:00
parent 5aa937f56a
commit bbace2b2c1

View File

@@ -27,6 +27,13 @@ const computeAuthStepVariables = (
}
if (variable.value) {
if (variable.value.endsWith('.all}')) {
const key = variable.value.replace('{', '').replace('.all}', '');
variables[variable.name] = aggregatedData[key];
continue;
}
const computedVariable = template(variable.value, { interpolate })(
aggregatedData
);