fix(editor): Allow $secrets to resolve on credentials (#10093)

This commit is contained in:
Iván Ovejero
2024-07-19 12:00:07 +02:00
committed by GitHub
parent dd54390b0a
commit bf57f38d1c
4 changed files with 43 additions and 3 deletions

View File

@@ -177,6 +177,8 @@ const evaluatedExpression = computed<Result<unknown, Error>>(() => {
};
}
if (props.isForCredential) opts.additionalKeys = resolvedAdditionalExpressionData.value;
return { ok: true, result: workflowHelpers.resolveExpression(value, undefined, opts) };
} catch (error) {
return { ok: false, error };